Check traderid and type values

This commit is contained in:
Chomp 2021-09-07 18:03:18 +01:00
parent a98311928b
commit bc0824e0f5

View File

@ -2,7 +2,6 @@
using QuestValidator.Common; using QuestValidator.Common;
using QuestValidator.Common.Helpers; using QuestValidator.Common.Helpers;
using QuestValidator.Helpers; using QuestValidator.Helpers;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
@ -152,6 +151,12 @@ namespace QuestValidator
// Check location matches // Check location matches
CheckValuesMatch(quest.location, relatedLiveQuest.location, "location value mismatch"); CheckValuesMatch(quest.location, relatedLiveQuest.location, "location value mismatch");
// Check traderid matches
CheckValuesMatch(quest.traderId, relatedLiveQuest.traderId, "traderid value mismatch");
// Check type matches
CheckValuesMatch(quest.type, relatedLiveQuest.type, "quest type value mismatch");
} }
private static void LogQuestDetails(Models.Quest quest) private static void LogQuestDetails(Models.Quest quest)