1
0
forked from liza/Questionable

Update source gen

This commit is contained in:
Liza 2024-08-09 01:19:22 +02:00
parent ebc8521fc4
commit 3f947a5dd6
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -311,6 +311,12 @@ public static class RoslynShortcuts
skipStepConditions.QuestsAccepted).AsSyntaxNodeOrToken(), skipStepConditions.QuestsAccepted).AsSyntaxNodeOrToken(),
AssignmentList(nameof(SkipStepConditions.QuestsCompleted), AssignmentList(nameof(SkipStepConditions.QuestsCompleted),
skipStepConditions.QuestsCompleted).AsSyntaxNodeOrToken(), skipStepConditions.QuestsCompleted).AsSyntaxNodeOrToken(),
Assignment(nameof(SkipStepConditions.AetheryteLocked),
skipStepConditions.AetheryteLocked, emptyStep.AetheryteLocked)
.AsSyntaxNodeOrToken(),
Assignment(nameof(SkipStepConditions.AetheryteUnlocked),
skipStepConditions.AetheryteUnlocked, emptyStep.AetheryteUnlocked)
.AsSyntaxNodeOrToken(),
Assignment(nameof(SkipStepConditions.ExtraCondition), Assignment(nameof(SkipStepConditions.ExtraCondition),
skipStepConditions.ExtraCondition, emptyStep.ExtraCondition) skipStepConditions.ExtraCondition, emptyStep.ExtraCondition)
.AsSyntaxNodeOrToken())))); .AsSyntaxNodeOrToken()))));
@ -344,7 +350,13 @@ public static class RoslynShortcuts
Assignment(nameof(SkipAetheryteCondition.InSameTerritory), Assignment(nameof(SkipAetheryteCondition.InSameTerritory),
skipAetheryteCondition.InSameTerritory, emptyAetheryte.InSameTerritory), skipAetheryteCondition.InSameTerritory, emptyAetheryte.InSameTerritory),
AssignmentList(nameof(SkipAetheryteCondition.InTerritory), AssignmentList(nameof(SkipAetheryteCondition.InTerritory),
skipAetheryteCondition.InTerritory))))); skipAetheryteCondition.InTerritory),
Assignment(nameof(SkipAetheryteCondition.AetheryteLocked),
skipAetheryteCondition.AetheryteLocked, emptyAetheryte.AetheryteLocked)
.AsSyntaxNodeOrToken(),
Assignment(nameof(SkipAetheryteCondition.AetheryteUnlocked),
skipAetheryteCondition.AetheryteUnlocked, emptyAetheryte.AetheryteUnlocked)
.AsSyntaxNodeOrToken()))));
} }
else if (value is GatheredItem gatheredItem) else if (value is GatheredItem gatheredItem)
{ {
@ -359,7 +371,7 @@ public static class RoslynShortcuts
Assignment(nameof(GatheredItem.ItemId), gatheredItem.ItemId, emptyItem.ItemId) Assignment(nameof(GatheredItem.ItemId), gatheredItem.ItemId, emptyItem.ItemId)
.AsSyntaxNodeOrToken(), .AsSyntaxNodeOrToken(),
Assignment(nameof(GatheredItem.AlternativeItemId), gatheredItem.AlternativeItemId, Assignment(nameof(GatheredItem.AlternativeItemId), gatheredItem.AlternativeItemId,
emptyItem.AlternativeItemId) emptyItem.AlternativeItemId)
.AsSyntaxNodeOrToken(), .AsSyntaxNodeOrToken(),
Assignment(nameof(GatheredItem.ItemCount), gatheredItem.ItemCount, Assignment(nameof(GatheredItem.ItemCount), gatheredItem.ItemCount,
emptyItem.ItemCount) emptyItem.ItemCount)