C# Class GladNet.Message.EventMessage

Inheritance: NetworkMessage, IEventMessage
Afficher le fichier Open project: HelloKitty/GladNet2 Class Usage Examples

Méthodes publiques

Méthode Description
DeepClone ( ) : NetworkMessage
Dispatch ( INetworkMessageReceiver receiver, IMessageParameters parameters ) : void

Dispatches the EventMessage (this) to the supplied INetworkMessageReceiver.

EventMessage ( PacketPayload payload ) : System

Constructor for EventMessage that calls NetworkMessage.ctor

Méthodes protégées

Méthode Description
EventMessage ( ) : System

Protected protobuf-net constructor.

EventMessage ( NetSendable netSendablePayload ) : System

Protected instructor used for deep cloning the NetworkMessage.

Method Details

DeepClone() public méthode

public DeepClone ( ) : NetworkMessage
Résultat NetworkMessage

Dispatch() public méthode

Dispatches the EventMessage (this) to the supplied INetworkMessageReceiver.
Throws if either parameters are null.
public Dispatch ( INetworkMessageReceiver receiver, IMessageParameters parameters ) : void
receiver INetworkMessageReceiver The target .
parameters IMessageParameters The of the .
Résultat void

EventMessage() protected méthode

Protected protobuf-net constructor.
protected EventMessage ( ) : System
Résultat System

EventMessage() protected méthode

Protected instructor used for deep cloning the NetworkMessage.
protected EventMessage ( NetSendable netSendablePayload ) : System
netSendablePayload NetSendable Shallow copy of the PacketPayload for copying.
Résultat System

EventMessage() public méthode

Constructor for EventMessage that calls NetworkMessage.ctor
public EventMessage ( PacketPayload payload ) : System
payload GladNet.Payload.PacketPayload of the .
Résultat System