C# Class ManateesAgainstCards.Network.Packet

Exibir arquivo Open project: DatZach/HumanityAgainstCards Class Usage Examples

Public Methods

Method Description
Read ( NetIncomingMessage msg ) : void
ReadFromMessage ( NetIncomingMessage msg ) : Packet
Write ( NetOutgoingMessage msg ) : void
WriteToMessage ( NetOutgoingMessage msg, Packet packet ) : void

Private Methods

Method Description
Packet ( ) : System

Method Details

Read() public abstract method

public abstract Read ( NetIncomingMessage msg ) : void
msg Lidgren.Network.NetIncomingMessage
return void

ReadFromMessage() public static method

public static ReadFromMessage ( NetIncomingMessage msg ) : Packet
msg Lidgren.Network.NetIncomingMessage
return Packet

Write() public abstract method

public abstract Write ( NetOutgoingMessage msg ) : void
msg Lidgren.Network.NetOutgoingMessage
return void

WriteToMessage() public static method

public static WriteToMessage ( NetOutgoingMessage msg, Packet packet ) : void
msg Lidgren.Network.NetOutgoingMessage
packet Packet
return void