diff options
author | Andrés Botero <0xafbf@gmail.com> | 2023-02-07 10:20:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 10:20:38 -0500 |
commit | f39aa8ae04f3fc1956cf6cce664deb423181acef (patch) | |
tree | b4984cea2c779dabb8bfbd8fc67a438f9fce5249 /doc/classes | |
parent | bdad9770d64914da3b77bee49916419b5df87d1c (diff) |
Fix docs on RPC_MODE_ANY_PEER analogous.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/MultiplayerAPI.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/MultiplayerAPI.xml b/doc/classes/MultiplayerAPI.xml index 020ce4f468..29011cd016 100644 --- a/doc/classes/MultiplayerAPI.xml +++ b/doc/classes/MultiplayerAPI.xml @@ -138,7 +138,7 @@ Used with [method Node.rpc_config] to disable a method or property for all RPC calls, making it unavailable. Default for all methods. </constant> <constant name="RPC_MODE_ANY_PEER" value="1" enum="RPCMode"> - Used with [method Node.rpc_config] to set a method to be callable remotely by any peer. Analogous to the [code]@rpc("any")[/code] annotation. Calls are accepted from all remote peers, no matter if they are node's authority or not. + Used with [method Node.rpc_config] to set a method to be callable remotely by any peer. Analogous to the [code]@rpc("any_peer")[/code] annotation. Calls are accepted from all remote peers, no matter if they are node's authority or not. </constant> <constant name="RPC_MODE_AUTHORITY" value="2" enum="RPCMode"> Used with [method Node.rpc_config] to set a method to be callable remotely only by the current multiplayer authority (which is the server by default). Analogous to the [code]@rpc("authority")[/code] annotation. See [method Node.set_multiplayer_authority]. |