public BattlenetParserAttribute(BattlenetOpcode opcode, BattlenetChannel channel, Direction direction)
 {
     Header           = new BattlenetPacketHeader();
     Header.Opcode    = (ushort)opcode;
     Header.Channel   = channel;
     Header.Direction = direction;
 }
Example #2
0
 public BattlenetParserAttribute(BattlenetOpcode opcode, BattlenetChannel channel, Direction direction)
 {
     Header = new BattlenetPacketHeader
     {
         Opcode    = (ushort)opcode,
         Channel   = channel,
         Direction = direction
     };
 }
Example #3
0
 private BattlenetParserAttribute(ushort opcode, BattlenetChannel channel, Direction direction)
 {
     Header = new BattlenetPacketHeader(opcode, channel, direction);
 }