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
|
|
|
|
|
{
|
2021-09-14 19:52:11 +01:00
|
|
|
|
public string QuestName { get; set; }
|
2021-09-07 17:45:49 +01:00
|
|
|
|
public string _id { get; set; }
|
|
|
|
|
public bool canShowNotificationsInGame { get; set; }
|
2023-01-27 14:30:21 +00:00
|
|
|
|
public string acceptPlayerMessage { get;set;}
|
2022-06-30 12:12:10 +01:00
|
|
|
|
public string changeQuestMessageText { get;set;}
|
2023-01-27 14:30:21 +00:00
|
|
|
|
public string completePlayerMessage { get; set; }
|
2021-09-07 17:45:49 +01:00
|
|
|
|
public Conditions conditions { get; set; }
|
2022-01-10 23:37:53 +00:00
|
|
|
|
public string description { get;set;}
|
|
|
|
|
public string failMessageText { get; set; }
|
|
|
|
|
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; }
|
2021-09-07 17:45:49 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Conditions
|
|
|
|
|
{
|
|
|
|
|
public string _parent { get; set; }
|
|
|
|
|
public ConditionProps _props { get; set; }
|
|
|
|
|
public List<AvailableFor> AvailableForFinish { get; set; }
|
|
|
|
|
public List<AvailableFor> AvailableForStart { get; set; }
|
2021-09-14 19:52:11 +01:00
|
|
|
|
public List<AvailableFor> Fail { get; set; }
|
2021-09-07 17:45:49 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ConditionProps
|
|
|
|
|
{
|
|
|
|
|
public string compareMethod { get; set; }
|
|
|
|
|
public string id { get; set; }
|
|
|
|
|
public object target { get; set; }
|
|
|
|
|
public string value { get; set; }
|
|
|
|
|
public Counter counter { get; set; }
|
|
|
|
|
public int index { get; set; }
|
|
|
|
|
public string parentId { get; set; }
|
|
|
|
|
public string type { get; set; }
|
|
|
|
|
public int? dogtagLevel { get; set; }
|
2023-01-21 14:42:59 +00:00
|
|
|
|
public object maxDurability { get; set; }
|
2021-09-07 17:45:49 +01:00
|
|
|
|
public int? minDurability { get; set; }
|
|
|
|
|
public List<object> visibilityConditions { get; set; }
|
|
|
|
|
public List<int> status { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Counter
|
|
|
|
|
{
|
|
|
|
|
public string id { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class AvailableFor
|
|
|
|
|
{
|
|
|
|
|
public string _parent { get; set; }
|
|
|
|
|
public AvailableForProps _props { get; set; }
|
2022-01-10 23:37:53 +00:00
|
|
|
|
public bool dynamicLocale { get;set;}
|
2021-09-07 17:45:49 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class AvailableForProps
|
|
|
|
|
{
|
2021-09-14 19:52:11 +01:00
|
|
|
|
public object counter { get; set;}
|
|
|
|
|
public int? dogtagLevel { get; set; }
|
2021-09-07 17:45:49 +01:00
|
|
|
|
public string id { get; set; }
|
|
|
|
|
public int? index { get; set; }
|
2023-01-21 14:42:59 +00:00
|
|
|
|
public object maxDurability { get; set; }
|
|
|
|
|
public object minDurability { get; set; }
|
2021-09-07 17:45:49 +01:00
|
|
|
|
public string parentId { get; set; }
|
2021-09-14 19:52:11 +01:00
|
|
|
|
public bool? resetOnSessionEnd { get; set; }
|
2023-01-02 12:22:48 +00:00
|
|
|
|
public bool? isEncoded { get;set; }
|
2021-09-14 19:52:11 +01:00
|
|
|
|
public bool? onlyFoundInRaid { get; set; }
|
|
|
|
|
public bool? oneSessionOnly { get; set; }
|
2022-01-10 23:37:53 +00:00
|
|
|
|
public bool dynamicLocale { get;set;}
|
|
|
|
|
public object? plantTime { get; set; }
|
2021-09-14 19:52:11 +01:00
|
|
|
|
public string zoneId { get; set; }
|
2021-09-07 17:45:49 +01:00
|
|
|
|
public object target { get; set; }
|
2021-09-14 19:52:11 +01:00
|
|
|
|
public string type { get;set;}
|
2023-01-02 12:22:48 +00:00
|
|
|
|
public bool? countInRaid { get;set;}
|
2021-09-14 19:52:11 +01:00
|
|
|
|
public object status { get; set;}
|
|
|
|
|
public bool? unknown { get; set; }
|
|
|
|
|
public bool? doNotResetIfCounterCompleted { get; set; }
|
|
|
|
|
public object value { get; set; }
|
|
|
|
|
public int? availableAfter { get; set; }
|
2023-01-09 22:51:49 +00:00
|
|
|
|
public int? dispersion { get; set; }
|
2021-09-14 19:52:11 +01:00
|
|
|
|
public string compareMethod { get;set;}
|
2021-09-07 17:45:49 +01:00
|
|
|
|
public List<object> visibilityConditions { get; set; }
|
2021-09-14 19:52:11 +01:00
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
{
|
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; }
|
2021-09-14 19:52:11 +01:00
|
|
|
|
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; }
|
|
|
|
|
public string traderId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class QuestRewardItem
|
|
|
|
|
{
|
|
|
|
|
public string _id { get; set; }
|
|
|
|
|
public string _tpl { get; set; }
|
2023-05-09 21:07:53 -07:00
|
|
|
|
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
|
|
|
|
|
{
|
2021-09-14 19:52:11 +01:00
|
|
|
|
public int? StackObjectsCount { get; set; }
|
|
|
|
|
public FireModeReward FireMode { get; set; }
|
|
|
|
|
public FoldeableReward Foldable { get; set; }
|
2023-05-10 20:34:30 -07:00
|
|
|
|
public bool? SpawnedInSession { get; set; }
|
|
|
|
|
public object? Repairable { get; set; }
|
2021-09-14 19:52:11 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class FireModeReward
|
|
|
|
|
{
|
|
|
|
|
public string FireMode { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class FoldeableReward
|
|
|
|
|
{
|
|
|
|
|
public bool? Folded { get; set; }
|
2021-09-07 17:45:49 +01:00
|
|
|
|
}
|
|
|
|
|
}
|