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

RPC improvements to the conversion tool #63985

Merged

Conversation

raulsntos
Copy link
Member

@raulsntos raulsntos commented Aug 6, 2022

  • Adds conversion for the sync and slave GDScript keywords. Deprecated in Deprecate slave keyword in favor of puppet. #22087 but they still exist in 3.x for compatibility.
  • Adds conversion for the RPC attributes in C#. Converts all existing RPC attributes from 3.x to the new single RPC attribute in 4.0 (added in C#: New RPCAttribute #62805) but only single attribute syntax (e.g.: [Remote], [Remote()], [RemoteAttribute] or [RemoteAttribute()]) and not multiple attribute syntax (e.g.: [A, Remote, B]) because I don't think it may be common enough and I don't want to over-complicate the regex.

Verified

This commit was signed with the committer’s verified signature.
raulsntos Raul Santos

Verified

This commit was signed with the committer’s verified signature.
raulsntos Raul Santos
@raulsntos raulsntos force-pushed the convert-rpc-attribute-csharp branch from 3b5638a to 775b9ee Compare August 6, 2022 13:57
@akien-mga akien-mga merged commit d8ec27c into godotengine:master Aug 6, 2022
@akien-mga
Copy link
Member

Thanks!

@raulsntos raulsntos deleted the convert-rpc-attribute-csharp branch August 6, 2022 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants