public Packet(LoginOpcodes op, params object[] optional) { opcode = (int)op; packet = new List <byte>(); this.optional = optional; indexes = new Dictionary <int, int>(); }
public LoginPacket(LoginOpcodes opcode) : base((short)opcode, PacketHeaderType.AuthSmsg) { }
public RealmPacket(LoginOpcodes opcode) : base((short)opcode, PacketHeaderType.RealmSmsg) { }
public Packet(LoginOpcodes op) { opcode = (int)op; packet = new List <byte>(); }
public OpcodeAttribute(LoginOpcodes id) { this.id = (short)id; }