diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-06 15:39:25 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-06 15:39:25 +0100 |
commit | 9ad098f653748938b202dccccbbad3b767d2cf45 (patch) | |
tree | d244defb4cfd5de6c4e2ae461b87c0cd8454fbb7 /doc | |
parent | f50f968b8377946d1c64c33bf5128aad0c852971 (diff) | |
parent | 31749de128e15fa883aaef8d7976bd7c2a2c26f1 (diff) |
Merge pull request #72276 from dalexeev/gds-rpc-annot
GDScript: Better handling of `@rpc` annotation and autocompletion
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Node.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 22665c8ffb..bc43f228a7 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -666,7 +666,7 @@ channel = 0, } [/codeblock] - See [enum MultiplayerAPI.RPCMode] and [enum MultiplayerPeer.TransferMode]. An alternative is annotating methods and properties with the corresponding [annotation @GDScript.@rpc] annotation ([code]@rpc(any_peer)[/code], [code]@rpc(authority)[/code]). By default, methods are not exposed to networking (and RPCs). + See [enum MultiplayerAPI.RPCMode] and [enum MultiplayerPeer.TransferMode]. An alternative is annotating methods and properties with the corresponding [annotation @GDScript.@rpc] annotation ([code]@rpc("any_peer")[/code], [code]@rpc("authority")[/code]). By default, methods are not exposed to networking (and RPCs). </description> </method> <method name="rpc_id" qualifiers="vararg"> |