Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaPiggy committed Sep 11, 2024
1 parent bae0b0a commit 71fac68
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Winch/Serialization/Quest/Grid/QuestGridConfigConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ public class QuestGridConfigConverter : DredgeTypeConverter<DeferredQuestGridCon
{ "createWithDurabilityValue", new(false, o=> bool.Parse(o.ToString())) },
{ "startingDurabilityProportion", new(0f, o=> float.Parse(o.ToString())) },
{ "gridConfiguration", new(string.Empty, null) },
{ "presetGrid", new(new SerializableGrid(), o => DredgeTypeHelpers.ParseSerializableGrid(o)) },
{ "presetGrid", new(new SerializableGrid(), o => DredgeTypeHelpers.ParseSerializableGrid(o)) }, //TODO: implement better
{ "presetGridMode", new(PresetGridMode.NONE, o => DredgeTypeHelpers.GetEnumValue<PresetGridMode>(o)) },
{ "completeConditions", new(new List<CompletedGridCondition>(), null) },
{ "completeConditions", new(new List<CompletedGridCondition>(), null) }, //TODO: implement
};

public QuestGridConfigConverter()
Expand Down
2 changes: 1 addition & 1 deletion Winch/Serialization/Quest/QuestDataConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class QuestDataConverter : DredgeTypeConverter<DeferredQuestData>
{ "steps", new(new List<string>(), o=>DredgeTypeHelpers.ParseStringList((JArray)o)) },
{ "subquests", new(new List<string>(), o=>DredgeTypeHelpers.ParseStringList((JArray)o)) },
{ "onOfferedQuestStep", new(string.Empty, null) },
{ "offerConditions", new(new List<QuestStepCondition>(), null) },
{ "offerConditions", new(new List<QuestStepCondition>(), null) }, //TODO: implement
{ "canBeOfferedAutomatically", new(false, o=> bool.Parse(o.ToString())) },
};

Expand Down
6 changes: 3 additions & 3 deletions Winch/Serialization/Quest/Step/QuestStepDataConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ public class QuestStepDataConverter : DredgeTypeConverter<DeferredQuestStepData>
{ "showAtSpeaker", new(false, o=> bool.Parse(o.ToString())) },
{ "stepSpeaker", new(string.Empty, null) },
{ "yarnRootNode", new(string.Empty, null) },
{ "showConditions", new(new List<QuestStepCondition>(), null) },
{ "showConditions", new(new List<QuestStepCondition>(), null) }, //TODO: implement
{ "canBeFailed", new(false, o=> bool.Parse(o.ToString())) },
{ "failureEvents", new(new List<QuestStepEvent>(), null) },
{ "failureEvents", new(new List<QuestStepEvent>(), null) }, //TODO: implement
{ "allowAutomaticCompletion", new(false, o=> bool.Parse(o.ToString())) },
{ "conditionMode", new(ConditionMode.NULL, o => DredgeTypeHelpers.GetEnumValue<ConditionMode>(o)) },
{ "completeConditions", new(new List<QuestStepCondition>(), null) },
{ "completeConditions", new(new List<QuestStepCondition>(), null) }, //TODO: implement
};

public QuestStepDataConverter()
Expand Down

0 comments on commit 71fac68

Please sign in to comment.