ForgeDocs
Documentation for the forge framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Forge.Networking.Core.INetworkMessageHandler Interface Reference

Client code that is executed upon the receipt of a network message. More...

Inheritance diagram for Forge.Networking.Core.INetworkMessageHandler:
Forge.Networking.Core.BaseNetworkMessageHandler< TNetworkMessage >

Public Member Functions

void HandleNetworkMessage (Player sender, INetworkMessage message)
 Handle a network message. More...
 

Properties

Type[] HandledTypes [get]
 The types that this message handler can process. More...
 

Detailed Description

Client code that is executed upon the receipt of a network message.

Member Function Documentation

void Forge.Networking.Core.INetworkMessageHandler.HandleNetworkMessage ( Player  sender,
INetworkMessage  message 
)

Handle a network message.

Parameters
senderThe player that sent the message.
messageThe message itself (an instance of a type from HandledTypes) .

Property Documentation

Type [] Forge.Networking.Core.INetworkMessageHandler.HandledTypes
get

The types that this message handler can process.


The documentation for this interface was generated from the following file: