Click or drag to resize

MultiplayerAPIRPCMode Enumeration

[Missing <summary> documentation for "T:Godot.MultiplayerAPI.RPCMode"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum RPCMode
Members
  Member nameValueDescription
Disabled0

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.

Remote1

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.

Master2

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).

Puppet3

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).

Slave3

Deprecated. Use instead. Analogous to the slave keyword.

Remotesync4

Behave like but also make the call or property change locally. Analogous to the remotesync keyword.

Sync4

Deprecated. Use instead. Analogous to the sync keyword.

Mastersync5

Behave like but also make the call or property change locally. Analogous to the mastersync keyword.

Puppetsync6

Behave like but also make the call or property change locally. Analogous to the puppetsync keyword.

See Also