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

Implement @Rpc macro #645

Open
migueldeicaza opened this issue Jan 7, 2025 · 0 comments
Open

Implement @Rpc macro #645

migueldeicaza opened this issue Jan 7, 2025 · 0 comments

Comments

@migueldeicaza
Copy link
Owner

See discussion in: the #644

While RPC works over a method with a simple registration, for the sake expedience and looking closer to C# and GDScript, we could generate the glue on behalf of the user.

The @rpc macro would be similar to @export or @Callable, in that it does not actually do anything, but acts purely as a marker that the @godot macro detects and uses to produce the proper registration code.

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