Exemple #1
0
 public virtual byte GetPacketCode(PacketLib.eServerPackets packetCode)
 {
     return (byte)packetCode;
 }
 public PacketHandlerAttribute(PacketLib.eClientPackets code)
 {
     _code = (int)code;
 }
Exemple #3
0
 public PacketOut(PacketLib.eServerPackets id)
 {
     _packetID = (byte)id;
     base.WriteShort(0x00); // size region
     base.WriteByte(_packetID);
 }
 public PacketHandlerAttribute(PacketLib.eClientPackets code, string description)
 {
     _code = (int)code;
     _desc = description;
 }