Exemplo n.º 1
0
 /// <summary>
 /// Creates Instance Of Any Other Packet
 /// </summary>
 /// <param name="packetId">Packet Identifier(opcode)</param>
 /// <param name="isLittleEndian">Send Data In Little Endian Or Not.</param>
 protected NetPacket(int packetId, bool isLittleEndian)
 {
     this.packetId       = packetId;
     this.m_littleEndian = isLittleEndian;
     ns = PacketWriter.CreateInstance(4092, isLittleEndian);
 }