C# Class GameMachine.Core.GameMessageHandler

Afficher le fichier Open project: gamemachine/gamemachine

Méthodes publiques

Méthode Description
DeliverMessages ( io.gamemachine.messages.GameMessages gameMessages ) : void
Deserialize ( byte bytes, Type t ) : object
Register ( GameMachine behavior ) : void
Send ( object component, object destination ) : void
Send ( object component, object destination, bool reliable ) : void
SendDynamicMessage ( object component, object destination ) : void
SendDynamicMessageReliable ( object component, object destination ) : void
SendGameMessages ( ) : void
SendReliable ( object component, object destination ) : void
Serialize ( object message ) : byte[]
toDynamicMessage ( object component ) : io.gamemachine.messages.DynamicMessage

Private Methods

Méthode Description
DeliverMessage ( io.gamemachine.messages.GameMessage gameMessage, bool hasError ) : void
GameMessageHandler ( ) : System
GameMessageProp ( string componentName ) : PropertyInfo

Method Details

DeliverMessages() public méthode

public DeliverMessages ( io.gamemachine.messages.GameMessages gameMessages ) : void
gameMessages io.gamemachine.messages.GameMessages
Résultat void

Deserialize() public méthode

public Deserialize ( byte bytes, Type t ) : object
bytes byte
t System.Type
Résultat object

Register() public méthode

public Register ( GameMachine behavior ) : void
behavior GameMachine
Résultat void

Send() public méthode

public Send ( object component, object destination ) : void
component object
destination object
Résultat void

Send() public méthode

public Send ( object component, object destination, bool reliable ) : void
component object
destination object
reliable bool
Résultat void

SendDynamicMessage() public méthode

public SendDynamicMessage ( object component, object destination ) : void
component object
destination object
Résultat void

SendDynamicMessageReliable() public méthode

public SendDynamicMessageReliable ( object component, object destination ) : void
component object
destination object
Résultat void

SendGameMessages() public méthode

public SendGameMessages ( ) : void
Résultat void

SendReliable() public méthode

public SendReliable ( object component, object destination ) : void
component object
destination object
Résultat void

Serialize() public méthode

public Serialize ( object message ) : byte[]
message object
Résultat byte[]

toDynamicMessage() public méthode

public toDynamicMessage ( object component ) : io.gamemachine.messages.DynamicMessage
component object
Résultat io.gamemachine.messages.DynamicMessage