1
0
forked from noxious/client

CharHair work

This commit is contained in:
2025-01-28 16:32:16 +01:00
parent 85537840ab
commit bdbda6456c
3 changed files with 61 additions and 38 deletions

View File

@ -40,4 +40,9 @@ export class CharacterHairStorage extends BaseStorage<any> {
constructor() {
super('characterHairs', 'id, name, createdAt, updatedAt')
}
async getSpriteId(characterTypeId: string) {
const characterType = await this.get(characterTypeId)
return characterType?.sprite
}
}