make code parse new quest json

This commit is contained in:
Chomp 2022-01-10 23:37:53 +00:00
parent 029256a323
commit f4801c2463

View File

@ -15,15 +15,21 @@ namespace QuestValidator.Models
public string _id { get; set; } public string _id { get; set; }
public bool canShowNotificationsInGame { get; set; } public bool canShowNotificationsInGame { get; set; }
public Conditions conditions { get; set; } public Conditions conditions { get; set; }
public string description { get;set;}
public string failMessageText { get; set; }
public string name { get; set; }
public string note { get; set; }
public string traderId { get; set; } public string traderId { get; set; }
public string location { get; set; } public string location { get; set; }
public string image { get; set; } public string image { get; set; }
public string type { get; set; } public string type { get; set; }
public bool isKey { get; set; } public bool? isKey { get; set; }
public bool restartable { get; set; } public bool restartable { get; set; }
public bool instantComplete { get; set; } public bool instantComplete { get; set; }
public bool secretQuest { get; set; } public bool secretQuest { get; set; }
public int min_level { get; set; } public string startedMessageText { get; set; }
public string successMessageText { get; set; }
public string templateId { get; set; }
public Rewards rewards { get; set; } public Rewards rewards { get; set; }
} }
@ -62,6 +68,7 @@ namespace QuestValidator.Models
{ {
public string _parent { get; set; } public string _parent { get; set; }
public AvailableForProps _props { get; set; } public AvailableForProps _props { get; set; }
public bool dynamicLocale { get;set;}
} }
public class AvailableForProps public class AvailableForProps
@ -76,7 +83,8 @@ namespace QuestValidator.Models
public bool? resetOnSessionEnd { get; set; } public bool? resetOnSessionEnd { get; set; }
public bool? onlyFoundInRaid { get; set; } public bool? onlyFoundInRaid { get; set; }
public bool? oneSessionOnly { get; set; } public bool? oneSessionOnly { get; set; }
public int? plantTime { get; set; } public bool dynamicLocale { get;set;}
public object? plantTime { get; set; }
public string zoneId { get; set; } public string zoneId { get; set; }
public object target { get; set; } public object target { get; set; }
public string type { get;set;} public string type { get;set;}
@ -117,7 +125,7 @@ namespace QuestValidator.Models
public class RewardStatus public class RewardStatus
{ {
public string value { get; set; } public object value { get; set; }
public string id { get; set; } public string id { get; set; }
public string type { get; set; } public string type { get; set; }
public int index { get; set; } public int index { get; set; }
@ -153,5 +161,4 @@ namespace QuestValidator.Models
{ {
public bool? Folded { get; set; } public bool? Folded { get; set; }
} }
} }