mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 21:57:44 +00:00
feat:下载、删除图片资源
This commit is contained in:
parent
65652f87ef
commit
b450b7f08b
8 changed files with 180 additions and 7 deletions
|
|
@ -83,3 +83,11 @@ export const atlasToID = name => {
|
|||
const id = charNameToID(_name);
|
||||
return id;
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取所有角色ID
|
||||
* @returns string[]
|
||||
*/
|
||||
export const getAllCharactersID = () => {
|
||||
return Object.keys(PartnerId2SpriteId);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue