Click or drag to resize

MultiplayerAPIGetRpcSenderId Method

Returns the sender's peer ID for the RPC currently being executed.

Note: If not inside an RPC this method will return 0.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int GetRpcSenderId()

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.MultiplayerAPI.GetRpcSenderId"]

See Also