refactor: 重构lib代码(无实质性功能更新,可不更新)

This commit is contained in:
bietiaop 2024-08-22 13:34:08 +08:00
parent a7f06d404b
commit aa3b7928ec
26 changed files with 547 additions and 483 deletions

18
lib/download/const.js Normal file
View file

@ -0,0 +1,18 @@
import path from 'path';
import { imageResourcesPath } from '../path.js';
export const ZZZ_SQUARE_AVATAR_PATH = path.join(
imageResourcesPath,
'square_avatar'
),
ZZZ_SMALL_SQUARE_AVATAR_PATH = path.join(imageResourcesPath, 'role_general'),
ZZZ_SQUARE_BANGBOO_PATH = path.join(
imageResourcesPath,
'bangboo_square_avatar'
),
ZZZ_WEAPON_PATH = path.join(imageResourcesPath, 'weapon'),
ZZZ_ROLE_PATH = path.join(imageResourcesPath, 'role'),
ZZZ_ROLE_CIRCLE_PATH = path.join(imageResourcesPath, 'role_circle'),
ZZZ_SUIT_3D_PATH = path.join(imageResourcesPath, 'suit_3d'),
ZZZ_SUIT_PATH = path.join(imageResourcesPath, 'suit');
// const ZZZ_GUIDES_PATH = path.join(imageResourcesPath, 'guides');