We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fec6af commit 71ac4afCopy full SHA for 71ac4af
1 file changed
Basics/03 - BaseLib接口/04 - 添加卡牌属性/README.md
@@ -134,7 +134,7 @@ public class MyCardTags
134
}
135
```
136
137
-然后在卡牌类中重载`Tags`即可:
+然后在卡牌类中重载`CanonicalTags`即可:
138
139
```csharp
140
[Pool(typeof(TestCardPool))]
@@ -143,7 +143,7 @@ public class TestCard : CustomCardModel
143
// 其余省略
144
145
// 添加tag
146
- public override IEnumerable<CardTag> Tags => [MyCardTags.Test];
+ protected override HashSet<CardTag> CanonicalTags => [MyCardTags.Test];
147
148
149
0 commit comments