feat: update achievement audio and refactors

This commit is contained in:
Zamitto
2024-10-01 18:29:50 -03:00
parent 084b7f5b9c
commit c18c41ac95
13 changed files with 99 additions and 55 deletions

View File

@@ -70,12 +70,12 @@ declare global {
objectId: string,
shop: GameShop
) => Promise<GameAchievement[]>;
updateGameUnlockedAchievements: (objectId: string) => Promise<void>;
onAchievementUnlocked: (
cb: (
objectId: string,
shop: GameShop,
displayName: string,
iconUrl: string
achievements?: { displayName: string; iconUrl: string }[]
) => void
) => () => Electron.IpcRenderer;