Skip to content

Commit

Permalink
reroute
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaPiggy committed Sep 13, 2024
1 parent 6554c59 commit 45c3ea7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Winch/Serialization/Quest/Grid/QuestGridConfigConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,15 @@ public class QuestGridConfigConverter : DredgeTypeConverter<DeferredQuestGridCon
{ "completeConditions", new(new List<CompletedGridCondition>{ new FullCondition() }, o=> DredgeTypeHelpers.ParseCompletedGridConditions((JArray)o)) },
};

private readonly Dictionary<string, string> _reroutes = new()
{
{ "gridConfiguration", "id" }
};

public QuestGridConfigConverter()
{
AddDefinitions(_definitions);
AddReroutes(_reroutes);
}

protected static LocalizedString CreateLocalizedString(string value) => CreateLocalizedString(QuestGridConfigTableDefinition, value);
Expand Down

0 comments on commit 45c3ea7

Please sign in to comment.