C# Class Dispatcher, Geewhiz

Inheritance: ObjectInteraction
Exibir arquivo Open project: tosos/Geewhiz Class Usage Examples

Public Properties

Property Type Description
debugMessage string

Public Methods

Method Description
Awake ( ) : void
Dispatch ( string message, object parameter = null ) : void
DispatchEMessage ( NetworkMessage, msg ) : void
DispatchFMessage ( NetworkMessage, msg ) : void
DispatchIMessage ( NetworkMessage, msg ) : void
DispatchQMessage ( NetworkMessage, msg ) : void
DispatchSMessage ( NetworkMessage, msg ) : void
DispatchVMessage ( NetworkMessage, msg ) : void
OnDestroy ( ) : void
Register ( string message, GameObject obj, bool isParallel = true ) : void
RemoteDispatch ( string message, object parameter = null ) : void
Unregister ( string message, GameObject obj ) : void
UpdateDebug ( ) : void

Private Methods

Method Description
ParseParameterToMessage ( string message, object parameter, short &id ) : MessageBase,

Method Details

Awake() public method

public Awake ( ) : void
return void

Dispatch() public method

public Dispatch ( string message, object parameter = null ) : void
message string
parameter object
return void

DispatchEMessage() public method

public DispatchEMessage ( NetworkMessage, msg ) : void
msg NetworkMessage,
return void

DispatchFMessage() public method

public DispatchFMessage ( NetworkMessage, msg ) : void
msg NetworkMessage,
return void

DispatchIMessage() public method

public DispatchIMessage ( NetworkMessage, msg ) : void
msg NetworkMessage,
return void

DispatchQMessage() public method

public DispatchQMessage ( NetworkMessage, msg ) : void
msg NetworkMessage,
return void

DispatchSMessage() public method

public DispatchSMessage ( NetworkMessage, msg ) : void
msg NetworkMessage,
return void

DispatchVMessage() public method

public DispatchVMessage ( NetworkMessage, msg ) : void
msg NetworkMessage,
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

Register() public method

public Register ( string message, GameObject obj, bool isParallel = true ) : void
message string
obj GameObject
isParallel bool
return void

RemoteDispatch() public method

public RemoteDispatch ( string message, object parameter = null ) : void
message string
parameter object
return void

Unregister() public method

public Unregister ( string message, GameObject obj ) : void
message string
obj GameObject
return void

UpdateDebug() public method

public UpdateDebug ( ) : void
return void

Property Details

debugMessage public_oe property

public string debugMessage
return string