chore: 暂时删除数据统计

This commit is contained in:
unanmed 2025-10-01 12:52:56 +08:00
parent 6891062351
commit 4d7ec615bb
5 changed files with 8 additions and 12 deletions

View File

@ -76,11 +76,6 @@ gameKey
name: '快捷商店', name: '快捷商店',
defaults: KeyCode.KeyV defaults: KeyCode.KeyV
}) })
.register({
id: 'statistics',
name: '数据统计',
defaults: KeyCode.KeyB
})
.register({ .register({
id: 'viewMap_1', id: 'viewMap_1',
name: '浏览地图_1', name: '浏览地图_1',

View File

@ -3,7 +3,6 @@ import { MAIN_WIDTH, MAIN_HEIGHT, POP_BOX_WIDTH, CENTER_LOC } from './shared';
import { import {
saveSave, saveSave,
mainUIController, mainUIController,
openStatistics,
saveLoad, saveLoad,
openSettings, openSettings,
ReplaySettingsUI, ReplaySettingsUI,
@ -16,9 +15,6 @@ export function createAction() {
.realize('save', () => { .realize('save', () => {
saveSave(mainUIController, [0, 0, MAIN_WIDTH, MAIN_HEIGHT]); saveSave(mainUIController, [0, 0, MAIN_WIDTH, MAIN_HEIGHT]);
}) })
.realize('statistics', () => {
openStatistics(mainUIController);
})
.realize('load', () => { .realize('load', () => {
saveLoad(mainUIController, [0, 0, MAIN_WIDTH, MAIN_HEIGHT]); saveLoad(mainUIController, [0, 0, MAIN_WIDTH, MAIN_HEIGHT]);
}) })

View File

@ -8,7 +8,6 @@ export * from './controller';
export * from './main'; export * from './main';
export * from './save'; export * from './save';
export * from './settings'; export * from './settings';
export * from './statistics';
export * from './statusBar'; export * from './statusBar';
export * from './toolbar'; export * from './toolbar';
export * from './viewmap'; export * from './viewmap';

View File

@ -20,7 +20,6 @@ import { generateKeyboardEvent } from '@motajs/system-action';
import { getVitualKeyOnce } from '@motajs/legacy-ui'; import { getVitualKeyOnce } from '@motajs/legacy-ui';
import { getAllSavesData, getSaveData, syncFromServer } from '../utils'; import { getAllSavesData, getSaveData, syncFromServer } from '../utils';
import { getInput } from '../components'; import { getInput } from '../components';
import { openStatistics } from './statistics';
import { saveWithExist } from './save'; import { saveWithExist } from './save';
import { compressToBase64 } from 'lz-string'; import { compressToBase64 } from 'lz-string';
import { ViewMapUI } from './viewmap'; import { ViewMapUI } from './viewmap';
@ -276,7 +275,12 @@ export const GameInfo = defineComponent<MainSettingsProps>(props => {
const choose = async (key: ChoiceKey) => { const choose = async (key: ChoiceKey) => {
switch (key) { switch (key) {
case GameInfoChoice.Statistics: { case GameInfoChoice.Statistics: {
openStatistics(props.controller); getConfirm(
props.controller,
'数据统计尚未完工',
CENTER_LOC,
POP_BOX_WIDTH
);
break; break;
} }
case GameInfoChoice.Project: { case GameInfoChoice.Project: {

View File

@ -9,6 +9,8 @@ import { waitbox, ListPage, TextContent } from '../components';
import { DefaultProps } from '@motajs/render-vue'; import { DefaultProps } from '@motajs/render-vue';
import { ItemState } from '@user/data-state'; import { ItemState } from '@user/data-state';
// 未完工
export interface StatisticsDataOneFloor { export interface StatisticsDataOneFloor {
enemyCount: number; enemyCount: number;
potionCount: number; potionCount: number;