We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71ac4af commit a434974Copy full SHA for a434974
1 file changed
source/_posts/03-baselib/03-04-card-properties.md
@@ -141,7 +141,7 @@ public class MyCardTags
141
}
142
```
143
144
-然后在卡牌类中重载`Tags`即可:
+然后在卡牌类中重载`CanonicalTags`即可:
145
146
```csharp
147
[Pool(typeof(TestCardPool))]
@@ -150,7 +150,7 @@ public class TestCard : CustomCardModel
150
// 其余省略
151
152
// 添加tag
153
- public override IEnumerable<CardTag> Tags => [MyCardTags.Test];
+ protected override HashSet<CardTag> CanonicalTags => [MyCardTags.Test];
154
155
156
0 commit comments