Click or drag to resize

NodeRpcConfig Method

Changes the RPC mode for the given method to the given mode. See MultiplayerAPIRPCMode. An alternative is annotating methods and properties with the corresponding keywords (remote, master, puppet, remotesync, mastersync, puppetsync). By default, methods are not exposed to networking (and RPCs). See also Rset(String, Object) and RsetConfig(String, MultiplayerAPIRPCMode) for properties.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void RpcConfig(
	string method,
	MultiplayerAPIRPCMode mode
)

Parameters

method
Type: SystemString

[Missing <param name="method"/> documentation for "M:Godot.Node.RpcConfig(System.String,Godot.MultiplayerAPI.RPCMode)"]

mode
Type: GodotMultiplayerAPIRPCMode

[Missing <param name="mode"/> documentation for "M:Godot.Node.RpcConfig(System.String,Godot.MultiplayerAPI.RPCMode)"]

See Also