C# Class GameMachine.GameMessageDispatcher

Inheritance: UnityEngine.MonoBehaviour
ファイルを表示 Open project: gamemachine/gamemachine Class Usage Examples

Public Properties

Property Type Description
instance GameMessageDispatcher

Public Methods

Method Description
Register ( GameMessageActor instance ) : void
SendUnityGameMessage ( UnityGameMessage unityGameMessage ) : void

Private Methods

Method Description
Awake ( ) : void
Dispatch ( UnityGameMessage unityGameMessage ) : void
Serialize ( io.gamemachine.messages.ClientMessage message ) : byte[]
Update ( ) : void

Method Details

Register() public method

public Register ( GameMessageActor instance ) : void
instance GameMessageActor
return void

SendUnityGameMessage() public method

public SendUnityGameMessage ( UnityGameMessage unityGameMessage ) : void
unityGameMessage UnityGameMessage
return void

Property Details

instance public_oe static_oe property

public static GameMessageDispatcher,GameMachine instance
return GameMessageDispatcher