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

Automatically attach @:ueExport to all class methods that override "virtual" functions from UE externs #6

Open
1 of 2 tasks
SomeRanDev opened this issue Oct 4, 2022 · 1 comment

Comments

@SomeRanDev
Copy link
Owner

SomeRanDev commented Oct 4, 2022

  • Mark specific functions with metadata to register as "virtual" in ue externs (are any UFUNCTIONS virtual? maybe provide option to disable this for "pure" externs)
  • Add the feature to the UEMetadata.hx file
@SomeRanDev
Copy link
Owner Author

Added feature so export occurs based on whether the override comes from an extern class. Haxe should be able to do all the type checking to ensure it matches the super class and all. Not sure how important it is to only mark virtual, can only imagine overriding a non-virtual class would be very rare, so maybe not worth the effort. Not to mention not sure how to check for virtuals atm since it not in UFunction or EFunctionFlags??? So guess I'll see.

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

1 participant