feat:下载、删除图片资源

This commit is contained in:
bietiaop 2024-07-14 23:36:17 +08:00
parent 65652f87ef
commit b450b7f08b
8 changed files with 180 additions and 7 deletions

View file

@ -22,3 +22,11 @@ export const weaponFileNameToID = name => {
}
return null;
};
/**
* 获取所有武器的ID
* @returns string[]
*/
export const getAllWeaponID = () => {
return Object.keys(WeaponId2Sprite);
};