C# Class GameCommon.CustomMessagesServerNetworkService

Inheritance: ServerNetworkService
Exibir arquivo Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Public Methods

Method Description
CustomMessagesServerNetworkService ( ) : System
SendToAllClients ( string message, string data ) : void
SendToClient ( NetworkNode connectedNode, string message, string data ) : void

Private Methods

Method Description
ReceiveMessage_TransferMessageToServer ( NetworkNode sender, MessageType messageType, ReceiveDataReader reader, string &error ) : bool

Method Details

CustomMessagesServerNetworkService() public method

public CustomMessagesServerNetworkService ( ) : System
return System

SendToAllClients() public method

public SendToAllClients ( string message, string data ) : void
message string
data string
return void

SendToClient() public method

public SendToClient ( NetworkNode connectedNode, string message, string data ) : void
connectedNode NetworkNode
message string
data string
return void