public MapNpcsQuestStatusUpdateMessage(int mapId, int[] npcsIdsWithQuest, GameRolePlayNpcQuestFlag[] questFlags, int[] npcsIdsWithoutQuest)
 {
     MapId = mapId;
     NpcsIdsWithQuest = npcsIdsWithQuest;
     QuestFlags = questFlags;
     NpcsIdsWithoutQuest = npcsIdsWithoutQuest;
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     QuestFlag = new GameRolePlayNpcQuestFlag();
     QuestFlag.Deserialize(reader);
 }
 public GameRolePlayNpcWithQuestInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, short npcId, bool sex, short specialArtworkId, GameRolePlayNpcQuestFlag questFlag)
     : base(contextualId, look, disposition, npcId, sex, specialArtworkId)
 {
     QuestFlag = questFlag;
 }
 public override void Deserialize(BigEndianReader reader)
 {
     MapId = reader.ReadInt();
     var limit = reader.ReadUShort();
     NpcsIdsWithQuest = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         NpcsIdsWithQuest[i] = reader.ReadInt();
     }
     limit = reader.ReadUShort();
     QuestFlags = new GameRolePlayNpcQuestFlag[limit];
     for (int i = 0; i < limit; i++)
     {
         QuestFlags[i] = new GameRolePlayNpcQuestFlag();
         QuestFlags[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     NpcsIdsWithoutQuest = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         NpcsIdsWithoutQuest[i] = reader.ReadInt();
     }
 }