简单的升星

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-26 03:06:23 +08:00
parent 8e644c583c
commit b33fede03e
22 changed files with 4330 additions and 169 deletions

View File

@@ -0,0 +1,18 @@
import { PlayerPetOV } from "../../consts/API";
//宠物选择
export interface PlayerPetOVSelect extends PlayerPetOV{
//是否选择
isSelect:boolean;
}
export class PetOV{
static PlayerPetOVSelects(pets:PlayerPetOV[]):PlayerPetOVSelect[]{
return pets.map(pet => ({...pet,isSelect:false}))
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "b4cea2c3-cb9a-43b7-9b23-a0e2d5dfe9e5",
"files": [],
"subMetas": {},
"userData": {}
}