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

Used for requesting a packet from the server (Ex: Telling the server to send lobby data
Inheritance: IMessage
显示文件 Open project: Cyral/Bricklayer Class Usage Examples

Public Methods

Method Description
Decode ( NetIncomingMessage im ) : void
Encode ( NetOutgoingMessage om ) : void
RequestMessage ( MessageTypes request ) : System.Collections.Generic
RequestMessage ( NetIncomingMessage im ) : System.Collections.Generic

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

RequestMessage() public method

public RequestMessage ( MessageTypes request ) : System.Collections.Generic
request MessageTypes
return System.Collections.Generic

RequestMessage() public method

public RequestMessage ( NetIncomingMessage im ) : System.Collections.Generic
im Lidgren.Network.NetIncomingMessage
return System.Collections.Generic