成就界面

This commit is contained in:
AncTe committed 2023-02-22 20:23:37 +08:00
1 parent 17e282a835
commit 2687a0e50b
9 files changed
+378 -30

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import list from '../../data/achievement.json';
type AchievementList = typeof list;
type AchievementType = keyof AchievementList;
export default function init() {
return {};
}
export function completeAchievement(type: AchievementType, index: number) {}
export function hasCompletedAchievement(type: AchievementType, index: number) {
return true;
}