Secret music (unlocked songs) are now saved and loaded correctly. Partially fixes issue #34.

Rewards are now saved and loaded correctly. Partially fixes issue #34.
This commit is contained in:
Thome Valentin
2022-04-30 07:00:28 +02:00
parent b7377a3d0d
commit 5c612929e2
3 changed files with 75 additions and 11 deletions
+5
View File
@@ -1,3 +1,5 @@
import { SecretMusicEntry } from "./secretmusicentry";
export interface Profile {
collection: 'profile';
@@ -54,4 +56,7 @@ export interface Profile {
exce_music_num: number;
clear_seq_num: number;
classic_all_skill: number;
secretmusic: {
music: SecretMusicEntry[];
}
}
@@ -0,0 +1,5 @@
export interface SecretMusicEntry {
musicid: number;
seq: number;
kind: number;
}