💄 角色box草创 #121

This commit is contained in:
目棃
2024-08-16 11:38:53 +08:00
parent bb0227cd0c
commit 27e22acdf6
5 changed files with 471 additions and 1 deletions

View File

@@ -56,12 +56,18 @@ export const useUserStore = defineStore(
return res;
}
function getProp(prop: number): TGApp.Game.Avatar.PropMapItem | false {
if (!propMap.value) return false;
return propMap.value[prop.toString()] || false;
}
return {
cookie,
briefInfo,
account,
propMap,
getAllCookie,
getProp,
};
},
{