172 lines
5.8 KiB
C#
Raw 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; }
2022-06-30 12:12:10 +01:00
public string changeQuestMessageText { 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; }
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; }
public int? maxDurability { get; set; }
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
{
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; }
public int? maxDurability { get; set; }
public int? minDurability { get; set; }
public string parentId { get; set; }
public bool? resetOnSessionEnd { get; set; }
2023-01-02 12:22:48 +00:00
public bool? isEncoded { get;set; }
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; }
public string zoneId { get; set; }
2021-09-07 17:45:49 +01:00
public object target { get; set; }
public string type { get;set;}
2023-01-02 12:22:48 +00:00
public bool? countInRaid { get;set;}
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; }
public string compareMethod { get;set;}
2021-09-07 17:45:49 +01:00
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; }
}
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; }
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; }
public QuestRewardUpd upd { get; set; }
public string parentId { get; set; }
public string slotId { get; set; }
}
public class QuestRewardUpd
{
public int? StackObjectsCount { get; set; }
public FireModeReward FireMode { get; set; }
public FoldeableReward Foldable { 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
}
}