public OutgoingAuthPacket(AuthenticationCmd opcode) : base(opcode) { base.WriteByte((byte)opcode); }
public OutgoingPacket(AuthenticationCmd packetId) : base(new MemoryStream()) { this.PacketId = packetId; }
public IncomingAuthPacket(byte[] packet, int length) : base(packet, 0, length) { this.PacketId = (AuthenticationCmd)base.ReadByte(); }