/// <summary> /// Initializes a new instance of the <see cref="PacketNpcCreateInfo"/> class. /// </summary> /// <param name="packet">The packet.</param> public PacketNpcCreateInfo(IL2RPacket packet) { NPC.Add(new PacketNpc(packet)); NPCMoving = packet.ReadUInt16(); // PktNpcMoveInfo for (int i = 0; i < NPCMoving; i++) { NPCMoveInfo.Add(new PacketNpcMoveInfo(packet)); } OwnerName = packet.ReadString(); TargetID = packet.ReadUInt64(); }