RpcReceivedEvent Class

Event raised when the local client receives a remote procedure call from another user.

Definition

Namespace: Alteruna.Multiplayer.EventArgument
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.2+dcdb8fba58ad1eb99205b1dc6265fd5b3b7cf8ec
C#
public class RpcReceivedEvent : UserIdEvent
Inheritance
Object    MultiplayerEvent    UserIdEvent    RpcReceivedEvent

Remarks

Subscribe to [!:MultiplayerManager.RpcReceived] to receive this event. UserIndex identifies the sender. The actual RPC handler registered via RegisterRemoteProcedure(String, RemoteProcedure) will have already executed before this event fires.

Constructors

RpcReceivedEvent Initializes a new instance of RpcReceivedEvent.

Fields

RpcName The name of the remote procedure that was called.

See Also