169 lines
6.1 KiB
C#
Raw Permalink Normal View History

2021-09-07 17:45:49 +01:00
using System.Collections.Generic;
namespace QuestValidator.Models
{
public class QuestRoot
{
public int err { get; set; }
public object errmsg { get; set; }
public List<Quest> data { get; set; }
}
public class Quest
{
public string QuestName { get; set; }
2021-09-07 17:45:49 +01:00
public string _id { get; set; }
public bool canShowNotificationsInGame { get; set; }
public string acceptPlayerMessage { get;set;}
2022-06-30 12:12:10 +01:00
public string changeQuestMessageText { get;set;}
public string completePlayerMessage { get; set; }
public QuestConditions conditions { get; set; }
2022-01-10 23:37:53 +00:00
public string description { get;set;}
public string failMessageText { get; set; }
2023-12-29 17:34:45 +00:00
public string declinePlayerMessage { get; set; }
2022-01-10 23:37:53 +00:00
public string name { get; set; }
public string note { get; set; }
2023-01-02 12:22:48 +00:00
public object? questStatus { get;set; }
2021-09-07 17:45:49 +01:00
public string traderId { get; set; }
public string location { get; set; }
public string image { get; set; }
public string type { get; set; }
2022-01-10 23:37:53 +00:00
public bool? isKey { get; set; }
2021-09-07 17:45:49 +01:00
public bool restartable { get; set; }
public bool instantComplete { get; set; }
public bool secretQuest { get; set; }
2022-01-10 23:37:53 +00:00
public string startedMessageText { get; set; }
public string successMessageText { get; set; }
public string templateId { get; set; }
2021-09-07 17:45:49 +01:00
public Rewards rewards { get; set; }
2022-06-30 12:12:10 +01:00
public string? side { get; set; }
2025-01-03 11:37:32 +00:00
public object acceptanceAndFinishingSource { get; set; }
public object progressSource { get; set; }
public object rankingModes { get; set; }
public object gameModes { get; set; }
public object arenaLocations { get; set; }
public object status { get; set; }
2021-09-07 17:45:49 +01:00
}
public class QuestConditions
2021-09-07 17:45:49 +01:00
{
public List<AvailableFor> AvailableForFinish { get; set; }
public List<AvailableFor> AvailableForStart { get; set; }
public List<AvailableFor> Fail { get; set; }
2021-09-07 17:45:49 +01:00
}
public class Counter
{
public string id { get; set; }
public object conditions { get; set; }
2021-09-07 17:45:49 +01:00
}
public class AvailableFor
{
2025-01-03 11:37:32 +00:00
public int? areaType { get; set; }
2023-12-29 17:34:45 +00:00
public int? completeInSeconds { get; set; }
public string conditionType { get; set; }
public Counter counter { get; set; }
public object dogtagLevel { get; set; }
public string id { get; set; }
public int? index { get; set; }
public object maxDurability { get; set; }
public object minDurability { get; set; }
public string parentId { get; set; }
public bool? resetOnSessionEnd { get; set; }
public bool? isEncoded { get; set; }
public bool? onlyFoundInRaid { get; set; }
public bool? oneSessionOnly { get; set; }
public bool dynamicLocale { get; set; }
public object? plantTime { get; set; }
public string zoneId { get; set; }
public object target { get; set; }
public string type { get; set; }
public bool? countInRaid { get; set; }
public object status { get; set; }
public bool? unknown { get; set; }
public bool? doNotResetIfCounterCompleted { get; set; }
2023-12-29 17:34:45 +00:00
public string globalQuestCounterId { get; set; }
public object value { get; set; }
public int? availableAfter { get; set; }
public int? dispersion { get; set; }
public string compareMethod { get; set; }
public List<object> visibilityConditions { get; set; }
public SkillCondition baseAccuracy { get; set; }
public SkillCondition durability { get; set; }
public SkillCondition effectiveDistance { get; set; }
public SkillCondition emptyTacticalSlot { get; set; }
public SkillCondition ergonomics { get; set; }
public SkillCondition height { get; set; }
public SkillCondition magazineCapacity { get; set; }
public SkillCondition muzzleVelocity { get; set; }
public SkillCondition recoil { get; set; }
public SkillCondition weight { get; set; }
public SkillCondition width { get; set; }
public object containsItems { get; set; }
public object hasItemFromCategory { get; set; }
2025-01-03 11:37:32 +00:00
public string traderId { get; set; }
public bool? isNecessary { get; set; }
public bool? isResetOnConditionFailed { get; set; }
public object illustrationConfig { get; set; }
public bool? isHidden { get; set; }
}
public class SkillCondition
{
public string compareMethod { get; set; }
public object value { get; set; }
2021-09-07 17:45:49 +01:00
}
public class Rewards
{
public List<RewardStatus> Started { get; set; }
public List<RewardStatus> Success { get; set; }
public List<RewardStatus> Fail { get; set; }
}
public class RewardStatus
{
2025-01-03 11:37:32 +00:00
public object availableInGameEditions { get; set; }
public object notAvailableInGameEditions { get; set; }
2022-01-10 23:37:53 +00:00
public object value { get; set; }
2021-09-07 17:45:49 +01:00
public string id { get; set; }
public string type { get; set; }
public int index { get; set; }
public string target { get; set; }
public bool? unknown { get; set; }
2022-06-30 12:12:10 +01:00
public bool? findInRaid {get; set;}
2021-09-07 17:45:49 +01:00
public List<QuestRewardItem> items { get; set; }
public int? loyaltyLevel { get; set; }
2025-01-03 11:37:32 +00:00
public object traderId { get; set; }
2021-09-07 17:45:49 +01:00
}
public class QuestRewardItem
{
public string _id { get; set; }
public string _tpl { get; set; }
public QuestRewardUpd upd { get; set; }
2021-09-07 17:45:49 +01:00
public string parentId { get; set; }
public string slotId { get; set; }
}
public class QuestRewardUpd
{
public int? StackObjectsCount { get; set; }
2025-01-03 11:37:32 +00:00
public object FireMode { get; set; }
public object Foldable { get; set; }
public object? SpawnedInSession { get; set; }
public object? Repairable { get; set; }
}
public class FireModeReward
{
public string FireMode { get; set; }
}
public class FoldeableReward
{
public bool? Folded { get; set; }
2021-09-07 17:45:49 +01:00
}
}