收集游戏动态图集简略信息

This commit is contained in:
xu_yanfeng
2025-01-14 17:44:26 +08:00
parent d0d2e1b4e6
commit f014c62f75
5 changed files with 168 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ import { GA_EventName } from "../../ga/type";
import { bridge } from "./bridge";
import { Bus, BusMsg } from "./bus";
import { EngineData, TreeData } from "./data";
import GameInfo from "./game-info.vue";
import { appStore } from "./store";
import { Timer } from "./timer";
const { CCTree, CCFootBar, CCDock, CCDialog, CCInput, CCButton, CCInputNumber, CCSelect, CCButtonGroup, CCCheckBox, CCColor, CCDivider } = ccui.components;
@@ -214,6 +215,16 @@ export default defineComponent({
updateTree();
},
});
menus.push({
name: "game info",
callback() {
ga.fireEventWithParam(GA_EventName.MouseMenu, "game info");
ccui.dialog.showDialog({
comp: GameInfo,
title: "Game Info",
});
},
});
if (selectedUUID) {
menus.push({
name: "visible (sapce)",