C# Class Bricklayer.Server.MessageHandler

Handles processing of incoming messages
Show file Open project: Cyral/Bricklayer Class Usage Examples

Private Properties

Property Type Description
ProcessDataMessage void
RebuildIndexes void

Public Methods

Method Description
ProcessNetworkMessages ( ) : void

The process network messages such as player's joining, moving, etc

Private Methods

Method Description
ProcessDataMessage ( NetIncomingMessage inc ) : void

Handles all actions for recieving data messages (Such as movement, block placing, etc)

RebuildIndexes ( Bricklayer map ) : void

Rebuilds the indexes of all players, by changing their index property to the correct index in the map's player list

Method Details

ProcessNetworkMessages() public method

The process network messages such as player's joining, moving, etc
public ProcessNetworkMessages ( ) : void
return void