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

Inheritance: IMessage
Exibir arquivo Open project: Cyral/Bricklayer Class Usage Examples

Public Methods

Method Description
Decode ( NetIncomingMessage im ) : void
Encode ( NetOutgoingMessage om ) : void
PlayerStateMessage ( NetIncomingMessage im ) : Bricklayer.Common.Entities
PlayerStateMessage ( 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

PlayerStateMessage() public method

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

PlayerStateMessage() public method

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