public virtual byte GetPacketCode(PacketLib.eServerPackets packetCode) { return (byte)packetCode; }
public PacketHandlerAttribute(PacketLib.eClientPackets code) { _code = (int)code; }
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; }