C# Class Bricklayer.Common.Networking.Messages.PlayerModeMessage

Inheritance: IMessage
Mostra file Open project: Cyral/Bricklayer Class Usage Examples

Public Methods

Method Description
Decode ( NetIncomingMessage im ) : void
Encode ( NetOutgoingMessage om ) : void
PlayerModeMessage ( NetIncomingMessage im ) : Bricklayer.Common.Entities
PlayerModeMessage ( Player player ) : Bricklayer.Common.Entities

Method Details

Decode() public method

public Decode ( NetIncomingMessage im ) : void
im Lidgren.Network.NetIncomingMessage
return void

Encode() public method

public Encode ( NetOutgoingMessage om ) : void
om Lidgren.Network.NetOutgoingMessage
return void

PlayerModeMessage() public method

public PlayerModeMessage ( NetIncomingMessage im ) : Bricklayer.Common.Entities
im Lidgren.Network.NetIncomingMessage
return Bricklayer.Common.Entities

PlayerModeMessage() public method

public PlayerModeMessage ( Player player ) : Bricklayer.Common.Entities
player Bricklayer.Common.Entities.Player
return Bricklayer.Common.Entities