We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aac2eb5 commit aed9153Copy full SHA for aed9153
1 file changed
RitsuLib/09 - 添加时间线/README.md
@@ -156,6 +156,22 @@ public sealed class TestAscensionOneEpoch : PackDeclaredCardUnlockEpochTemplate
156
}
157
```
158
159
+## 使用
160
+
161
+然后需要在你的人物类上加上这些特性用于注册:
162
163
+```csharp
164
+[RegisterCharacter]
165
+[RequireEpoch(typeof(TestEpoch))]
166
+[UnlockEpochAfterRunAs(typeof(TestCardEpoch))]
167
+[UnlockEpochAfterWinAs(typeof(TestVictoryEpoch))]
168
+[UnlockEpochAfterEliteVictories(typeof(TestEliteEpoch))]
169
+[UnlockEpochAfterBossVictories(typeof(TestBossEpoch))]
170
+[UnlockEpochAfterAscensionOneWin(typeof(TestAscensionOneEpoch))]
171
+[RevealAscensionAfterEpoch(typeof(TestVictoryEpoch))]
172
+public class TestCharacter : ModCharacterTemplate<TestCardPool, TestRelicPool, TestPotionPool> {}
173
+```
174
175
## 文本
176
177
然后创建`{modId}/localization/{Language}/epochs.json`。
0 commit comments