RpcReceivedEvent Class

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

Definition

Namespace: Alteruna.Multiplayer.Unity.EventArgument
Assembly: Alteruna.Multiplayer.Unity (in Alteruna.Multiplayer.Unity.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
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