GDScript: Better handling of @rpc annotation and autocompletion

This commit is contained in:
Danil Alexeev
2023-01-29 00:21:27 +03:00
parent 13f0158e49
commit 31749de128
4 changed files with 43 additions and 14 deletions

View File

@ -576,10 +576,10 @@
@rpc
func fn(): pass
@rpc(any_peer, unreliable_ordered)
@rpc("any_peer", "unreliable_ordered")
func fn_update_pos(): pass
@rpc(authority, call_remote, unreliable, 0) # Equivalent to @rpc
@rpc("authority", "call_remote", "unreliable", 0) # Equivalent to @rpc
func fn_default(): pass
[/codeblock]
</description>