Cache audio
This commit is contained in:
@ -46,3 +46,9 @@ export class CharacterHairStorage extends BaseStorage<any> {
|
||||
return characterType?.sprite
|
||||
}
|
||||
}
|
||||
|
||||
export class SoundStorage extends BaseStorage<{ id: string; name: string; base64: string }> {
|
||||
constructor() {
|
||||
super('sounds', 'id, name, createdAt, updatedAt')
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user