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

Inheritance: IMessage
Mostrar archivo Open project: Cyral/Bricklayer Class Usage Examples

Public Methods

Method Description
Decode ( NetIncomingMessage im ) : void
Encode ( NetOutgoingMessage om ) : void
PlayerJoinMessage ( NetIncomingMessage im ) : Lidgren.Network
PlayerJoinMessage ( string username, byte id, bool me, Microsoft.Xna.Framework.Color color ) : Lidgren.Network

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

PlayerJoinMessage() public method

public PlayerJoinMessage ( NetIncomingMessage im ) : Lidgren.Network
im Lidgren.Network.NetIncomingMessage
return Lidgren.Network

PlayerJoinMessage() public method

public PlayerJoinMessage ( string username, byte id, bool me, Microsoft.Xna.Framework.Color color ) : Lidgren.Network
username string
id byte
me bool
color Microsoft.Xna.Framework.Color
return Lidgren.Network