Enum MultiplayerAPI.RPCMode

enum RPCMode : int { ... }

Enum members

NameDescription
rpcModeDisabled Used with Node.rpcConfig or Node.rsetConfig to disable a method or property for all RPC calls, making it unavailable. Default for all methods.
rpcModeMaster Used with Node.rpcConfig or Node.rsetConfig 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 Node.setNetworkMaster.
rpcModeMastersync Behave like constant RPC_MODE_MASTER but also make the call or property change locally. Analogous to the mastersync keyword.
rpcModePuppet Used with Node.rpcConfig or Node.rsetConfig 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 Node.setNetworkMaster.
rpcModePuppetsync Behave like constant RPC_MODE_PUPPET but also make the call or property change locally. Analogous to the puppetsync keyword.
rpcModeRemote Used with Node.rpcConfig or Node.rsetConfig 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.
rpcModeRemotesync Behave like constant RPC_MODE_REMOTE but also make the call or property change locally. Analogous to the remotesync keyword.
rpcModeSlave Deprecated. Use constant RPC_MODE_PUPPET instead. Analogous to the slave keyword.
rpcModeSync Deprecated. Use constant RPC_MODE_REMOTESYNC instead. Analogous to the sync keyword.