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