MultiplayerAPIRPCMode Enumeration |
[Missing <summary> documentation for "T:Godot.MultiplayerAPI.RPCMode"]
Namespace: Godot
public enum RPCMode
Member name | Value | Description | |
---|---|---|---|
Disabled | 0 | Used with RpcConfig(String, MultiplayerAPIRPCMode) or RsetConfig(String, MultiplayerAPIRPCMode) to disable a method or property for all RPC calls, making it unavailable. Default for all methods. | |
Remote | 1 | Used with RpcConfig(String, MultiplayerAPIRPCMode) or RsetConfig(String, MultiplayerAPIRPCMode) to set a method to be called or a property to be changed only on the remote end, not locally. Analogous to the remote keyword. Calls and property changes are accepted from all remote peers, no matter if they are node's master or puppets. | |
Master | 2 | Used with RpcConfig(String, MultiplayerAPIRPCMode) or RsetConfig(String, MultiplayerAPIRPCMode) to set a method to be called or a property to be changed only on the network master for this node. Analogous to the master keyword. Only accepts calls or property changes from the node's network puppets, see SetNetworkMaster(Int32, Boolean). | |
Puppet | 3 | Used with RpcConfig(String, MultiplayerAPIRPCMode) or RsetConfig(String, MultiplayerAPIRPCMode) to set a method to be called or a property to be changed only on puppets for this node. Analogous to the puppet keyword. Only accepts calls or property changes from the node's network master, see SetNetworkMaster(Int32, Boolean). | |
Slave | 3 | Deprecated. Use instead. Analogous to the slave keyword. | |
Remotesync | 4 | Behave like but also make the call or property change locally. Analogous to the remotesync keyword. | |
Sync | 4 | Deprecated. Use instead. Analogous to the sync keyword. | |
Mastersync | 5 | Behave like but also make the call or property change locally. Analogous to the mastersync keyword. | |
Puppetsync | 6 | Behave like but also make the call or property change locally. Analogous to the puppetsync keyword. |