更新套装图片map;更新下载节点排序

This commit is contained in:
UCPr 2025-09-08 13:02:45 +08:00
parent ec918c8fbc
commit e9ca415922
10 changed files with 100 additions and 613 deletions

View file

@ -1,15 +1,15 @@
// 节点列表
export const URL_LIB = {
'[CNJS]': 'http://cn-js-nj-1.lcf.icu:13214',
'[TW]': 'http://tw-taipei-1.lcf.icu:20532',
'[SG]': 'http://sg-1.lcf.icu:12588',
'[US]': 'http://us-lax-2.lcf.icu:12588',
'[Chuncheon]': 'https://kr.qxqx.cf',
'[Seoul]': 'https://kr-s.qxqx.cf',
'[Singapore]': 'https://sg.qxqx.cf',
'[MiniGG]': 'http://file.minigg.cn/sayu-bot',
'[Lulu]': 'http://lulush.microgg.cn',
'[TakeyaYuki]': 'https://gscore.focalors.com',
"[Lulu]": "http://lulush.microgg.cn",
"[MiniGG]": "http://file.minigg.cn/sayu-bot",
"[Singapore]": "https://sg.qxqx.cf",
"[Chuncheon]": "https://kr.qxqx.cf",
"[CNJS]": "http://cn-js-nj-1.lcf.icu:13214",
"[TW]": "http://tw-taipei-1.lcf.icu:20532",
"[SG]": "http://sg-1.lcf.icu:12588",
"[US]": "http://us-lax-2.lcf.icu:12588",
"[Seoul]": "https://kr-s.qxqx.cf",
"[TakeyaYuki]": "https://gscore.focalors.com"
};
// 文件类型路径

View file

@ -1,10 +1,10 @@
import { getMapData } from '../../utils/file.js'
/** @type {import('../../model/Enka/interface.js').Map.EquipId2Data} */
const EquipId2Data = getMapData('EquipId2Data')
/** @type {import('../../model/Enka/interface.js').Map.SuitData} */
const SuitData = getMapData('SuitData')
/**
* 获取驱动盘装备的图片
* 获取驱动盘装备的图片
* @param {string | number} equipId
* @returns {string | null}
*/
@ -12,17 +12,17 @@ export function equipIdToSprite(equipId) {
equipId = equipId.toString()
if (equipId.length === 5) {
const suitId = equipId.slice(0, 3) + '00'
if (EquipId2Data.hasOwnProperty(suitId)) {
return EquipId2Data[suitId]['sprite_file'].replace('3D', '')
if (SuitData.hasOwnProperty(suitId)) {
return SuitData[suitId]['sprite_file']
}
}
return null
}
/**
* 获取所有备的id
* 获取所有装id
* @returns {string[]}
*/
export function getAllEquipID() {
return Object.keys(EquipId2Data)
export function getAllSuitID() {
return Object.keys(SuitData)
}