From cd160cd10d77b92f4b0e2819b647ce4a4498ab94 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Mon, 20 Feb 2023 15:43:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=80=E6=9C=89=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/data.d.ts | 2 +- src/types/status.d.ts | 40 ++++++++++++++++------------------------ 2 files changed, 17 insertions(+), 25 deletions(-) diff --git a/src/types/data.d.ts b/src/types/data.d.ts index f5fb3e8..c0df9bb 100644 --- a/src/types/data.d.ts +++ b/src/types/data.d.ts @@ -7,7 +7,7 @@ interface MainData { /** * 分区指定 */ - readonly floorPatitions: [FloorIds, FloorIds?][]; + readonly floorPartitions: [FloorIds, FloorIds?][]; /** * 所有的额外素材 diff --git a/src/types/status.d.ts b/src/types/status.d.ts index ca92ce1..57eeee0 100644 --- a/src/types/status.d.ts +++ b/src/types/status.d.ts @@ -596,17 +596,7 @@ interface InitGameStatus { /** * 游戏是否结束 */ - gameOver: false; - - /** - * 当前勇士状态信息。例如core.status.hero.atk就是当前勇士的攻击力数值 - */ - hero: {}; - - /** - * 当前层的floorId - */ - floorId: null; + gameOver: boolean; /** * 所有楼层的地图信息 @@ -615,11 +605,6 @@ interface InitGameStatus { [P in FloorIds]: Floor
;
};
- /**
- * 获得当前楼层信息,等价于core.status.maps[core.status.floorId]
- */
- thisMap: null;
-
/**
* 背景图块
*/
@@ -635,11 +620,6 @@ interface InitGameStatus {
*/
mapBlockObjs: Record