Skip to content

Commit f92f303

Browse files
committed
2026-04-30 s时间线修正
1 parent 5b57888 commit f92f303

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

RitsuLib/09 - 添加时间线/README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ public class TestEpoch : CharacterUnlockEpochTemplate<TestCharacter>
5252
// 用于本地化的键
5353
public override string Id => "TEST_CHARACTER_EPOCH";
5454

55+
// 时期的图片路径
56+
public override EpochAssetProfile AssetProfile => new(
57+
PackedPortraitPath: "res://icon.svg",
58+
BigPortraitPath: "res://icon.svg"
59+
);
60+
5561
// 解锁该时期后,解锁的所有后续时期
5662
protected override IEnumerable<Type> ExpansionEpochTypes =>
5763
[
@@ -92,6 +98,12 @@ public sealed class TestAct1Epoch : PackDeclaredCardUnlockEpochTemplate
9298
{
9399
// 用于本地化的键.通过某一幕是按ID检索的
94100
public override string Id => TestStory.ActEpochKey(1);
101+
102+
// 时期的图片路径
103+
public override EpochAssetProfile AssetProfile => new(
104+
PackedPortraitPath: "res://icon.svg",
105+
BigPortraitPath: "res://icon.svg"
106+
);
95107
}
96108

97109
[RegisterEpoch]
@@ -103,6 +115,12 @@ public sealed class TestAct2Epoch : PackDeclaredRelicUnlockEpochTemplate
103115
{
104116
// 用于本地化的键.通过某一幕是按ID检索的
105117
public override string Id => TestStory.ActEpochKey(2);
118+
119+
// 时期的图片路径
120+
public override EpochAssetProfile AssetProfile => new(
121+
PackedPortraitPath: "res://icon.svg",
122+
BigPortraitPath: "res://icon.svg"
123+
);
106124
}
107125

108126
[RegisterEpoch]
@@ -113,6 +131,12 @@ public sealed class TestAct3Epoch : PackDeclaredCardUnlockEpochTemplate
113131
{
114132
// 用于本地化的键.通过某一幕是按ID检索的
115133
public override string Id => TestStory.ActEpochKey(3);
134+
135+
// 时期的图片路径
136+
public override EpochAssetProfile AssetProfile => new(
137+
PackedPortraitPath: "res://icon.svg",
138+
BigPortraitPath: "res://icon.svg"
139+
);
116140
}
117141

118142
[RegisterEpoch]
@@ -123,6 +147,12 @@ public sealed class TestVictoryEpoch : PackDeclaredCardUnlockEpochTemplate
123147
{
124148
// 用于本地化的键
125149
public override string Id => "TEST_VICTORY_EPOCH";
150+
151+
// 时期的图片路径
152+
public override EpochAssetProfile AssetProfile => new(
153+
PackedPortraitPath: "res://icon.svg",
154+
BigPortraitPath: "res://icon.svg"
155+
);
126156
}
127157

128158
[RegisterEpoch]
@@ -133,6 +163,12 @@ public sealed class TestEliteEpoch : PackDeclaredCardUnlockEpochTemplate
133163
{
134164
// 用于本地化的键
135165
public override string Id => "TEST_ELITE_MILESTONE_EPOCH";
166+
167+
// 时期的图片路径
168+
public override EpochAssetProfile AssetProfile => new(
169+
PackedPortraitPath: "res://icon.svg",
170+
BigPortraitPath: "res://icon.svg"
171+
);
136172
}
137173

138174
[RegisterEpoch]
@@ -143,6 +179,12 @@ public sealed class TestBossEpoch : PackDeclaredCardUnlockEpochTemplate
143179
{
144180
// 用于本地化的键
145181
public override string Id => "TEST_BOSS_MILESTONE_EPOCH";
182+
183+
// 时期的图片路径
184+
public override EpochAssetProfile AssetProfile => new(
185+
PackedPortraitPath: "res://icon.svg",
186+
BigPortraitPath: "res://icon.svg"
187+
);
146188
}
147189

148190
[RegisterEpoch]
@@ -153,6 +195,12 @@ public sealed class TestAscensionOneEpoch : PackDeclaredCardUnlockEpochTemplate
153195
{
154196
// 用于本地化的键
155197
public override string Id => "TEST_ASCENSION_ONE_EPOCH";
198+
199+
// 时期的图片路径
200+
public override EpochAssetProfile AssetProfile => new(
201+
PackedPortraitPath: "res://icon.svg",
202+
BigPortraitPath: "res://icon.svg"
203+
);
156204
}
157205
```
158206

0 commit comments

Comments
 (0)