Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FString -> String #14

Open
peteshand opened this issue Oct 7, 2022 · 2 comments
Open

FString -> String #14

peteshand opened this issue Oct 7, 2022 · 2 comments

Comments

@peteshand
Copy link

Is it currently possible to convert an FString to a haxe String?
I'm trying to pass a String from a blueprint to a Haxe function, however can't workout how to convert the FString (Int and bool work)

@SomeRanDev
Copy link
Owner

Not at the moment, want to make sure all the basic stuff is working before writing the manual bindings. Maybe use the ue_helpers.FStringHX class? It's a class that has all the String methods but compiles into FString. Otherwise, I should have them done soon! :D

@SomeRanDev
Copy link
Owner

Whoops, sorry for recommending the FStringHX class before testing. It should work now, and I added a fromString method to convert from Haxe String into this FString class. Hopefully I'll get around to making actual FString bindings soon enough. 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants