projects
/
Questionable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f07ae7
)
Include alternativeItemId in codegen
author
Liza Carvelli
<liza@carvel.li>
Thu, 8 Aug 2024 13:11:25 +0000
(15:11 +0200)
committer
Liza Carvelli
<liza@carvel.li>
Thu, 8 Aug 2024 13:11:25 +0000
(15:11 +0200)
QuestPathGenerator/RoslynShortcuts.cs
patch
|
blob
|
blame
|
history
diff --git
a/QuestPathGenerator/RoslynShortcuts.cs
b/QuestPathGenerator/RoslynShortcuts.cs
index e01b92012eadab0aad4f9ba0b03770224cded300..1bb067e636a5a82ca0e8402b1263a45bf68c0441 100644
(file)
--- a/
QuestPathGenerator/RoslynShortcuts.cs
+++ b/
QuestPathGenerator/RoslynShortcuts.cs
@@
-358,6
+358,9
@@
public static class RoslynShortcuts
SyntaxNodeList(
Assignment(nameof(GatheredItem.ItemId), gatheredItem.ItemId, emptyItem.ItemId)
.AsSyntaxNodeOrToken(),
+ Assignment(nameof(GatheredItem.AlternativeItemId), gatheredItem.AlternativeItemId,
+ emptyItem.AlternativeItemId)
+ .AsSyntaxNodeOrToken(),
Assignment(nameof(GatheredItem.ItemCount), gatheredItem.ItemCount,
emptyItem.ItemCount)
.AsSyntaxNodeOrToken(),