mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 05:37:46 +00:00
feat:下载、删除图片资源
This commit is contained in:
parent
65652f87ef
commit
b450b7f08b
8 changed files with 180 additions and 7 deletions
|
|
@ -22,3 +22,11 @@ export const weaponFileNameToID = name => {
|
|||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取所有武器的ID
|
||||
* @returns string[]
|
||||
*/
|
||||
export const getAllWeaponID = () => {
|
||||
return Object.keys(WeaponId2Sprite);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue