C# Class NetWrok.MessageDispatcher

ファイルを表示 Open project: simonwittber/netwrok-client Class Usage Examples

Public Properties

Property Type Description
connection Connection

Public Methods

Method Description
AddMethodToTable ( Component c, MethodInfo mi, string key, Dictionary table ) : void
Disable ( ) : void
Dispatch ( string type, string id, string cmd, object arguments ) : void
Enable ( ) : void
HandleOnConnected ( ) : void
HandleOnJoinedRoom ( string room, string UID ) : void
HandleOnLeftRoom ( string room, string UID ) : void
HandleOnRoomMessage ( string room, string uid, string cmd, Message msg ) : void
HandleOnSystemMessage ( Message msg ) : void
HandleOnUserMessage ( string cmd, string uid, Message msg ) : void
RegisterAllNetworkMethods ( ) : void
Reset ( ) : void
UnregisterAllNetworkMethods ( ) : void

Method Details

AddMethodToTable() public method

public AddMethodToTable ( Component c, MethodInfo mi, string key, Dictionary table ) : void
c UnityEngine.Component
mi System.Reflection.MethodInfo
key string
table Dictionary
return void

Disable() public method

public Disable ( ) : void
return void

Dispatch() public method

public Dispatch ( string type, string id, string cmd, object arguments ) : void
type string
id string
cmd string
arguments object
return void

Enable() public method

public Enable ( ) : void
return void

HandleOnConnected() public method

public HandleOnConnected ( ) : void
return void

HandleOnJoinedRoom() public method

public HandleOnJoinedRoom ( string room, string UID ) : void
room string
UID string
return void

HandleOnLeftRoom() public method

public HandleOnLeftRoom ( string room, string UID ) : void
room string
UID string
return void

HandleOnRoomMessage() public method

public HandleOnRoomMessage ( string room, string uid, string cmd, Message msg ) : void
room string
uid string
cmd string
msg Message
return void

HandleOnSystemMessage() public method

public HandleOnSystemMessage ( Message msg ) : void
msg Message
return void

HandleOnUserMessage() public method

public HandleOnUserMessage ( string cmd, string uid, Message msg ) : void
cmd string
uid string
msg Message
return void

RegisterAllNetworkMethods() public method

public RegisterAllNetworkMethods ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

UnregisterAllNetworkMethods() public method

public UnregisterAllNetworkMethods ( ) : void
return void

Property Details

connection public_oe property

public Connection,NetWrok connection
return Connection