Beispiel #1
0
 public Packet(LoginOpcodes op, params object[] optional)
 {
     opcode        = (int)op;
     packet        = new List <byte>();
     this.optional = optional;
     indexes       = new Dictionary <int, int>();
 }
Beispiel #2
0
 public LoginPacket(LoginOpcodes opcode) : base((short)opcode, PacketHeaderType.AuthSmsg)
 {
 }
Beispiel #3
0
 public LoginPacket(LoginOpcodes opcode)
     : base((short)opcode, PacketHeaderType.AuthSmsg)
 {
 }
Beispiel #4
0
 public RealmPacket(LoginOpcodes opcode) : base((short)opcode, PacketHeaderType.RealmSmsg)
 {
 }
Beispiel #5
0
 public RealmPacket(LoginOpcodes opcode)
     : base((short)opcode, PacketHeaderType.RealmSmsg)
 {
 }
Beispiel #6
0
 public Packet(LoginOpcodes op)
 {
     opcode = (int)op;
     packet = new List <byte>();
 }
Beispiel #7
0
 public OpcodeAttribute(LoginOpcodes id)
 {
     this.id = (short)id;
 }