迁移五子棋外部入口脚本

This commit is contained in:
2026-04-25 18:14:07 +08:00
parent d5f9cf7371
commit 48d646d723
3 changed files with 59 additions and 11 deletions
+9
View File
@@ -29,6 +29,7 @@
* - game-hall.js:处理娱乐大厅弹窗和游戏入口卡片。
* - game-bootstrap.js:提供非关键游戏延迟初始化工具。
* - game-panels.js:处理通用游戏面板关闭事件。
* - gomoku-controls.js:处理五子棋外部打开和接受邀请入口。
* - horse-race-fab.js:处理赛马竞猜悬浮按钮拖动与打开面板。
* - holiday-modal.js:处理节日福利弹窗、广播监听、领取状态和系统消息入口。
* - initial-state.js:恢复首屏历史消息、欢迎消息、入场特效和挂起婚姻事件。
@@ -107,6 +108,7 @@ export {
export { bindGameHallControls, closeGameHall, openGameHall } from "./chat-room/game-hall.js";
export { bindGameBootstrapControls, deferChatGameBootstrap } from "./chat-room/game-bootstrap.js";
export { bindGamePanelControls } from "./chat-room/game-panels.js";
export { acceptGomokuInvite, bindGomokuControls, openGomokuPanel } from "./chat-room/gomoku-controls.js";
export { bindHorseRaceFabControls, horseRaceFab } from "./chat-room/horse-race-fab.js";
export {
bindHolidayModalControls,
@@ -252,6 +254,7 @@ import {
import { bindGameHallControls, closeGameHall, openGameHall } from "./chat-room/game-hall.js";
import { bindGameBootstrapControls, deferChatGameBootstrap } from "./chat-room/game-bootstrap.js";
import { bindGamePanelControls } from "./chat-room/game-panels.js";
import { acceptGomokuInvite, bindGomokuControls, openGomokuPanel } from "./chat-room/gomoku-controls.js";
import { bindHorseRaceFabControls, horseRaceFab } from "./chat-room/horse-race-fab.js";
import {
bindHolidayModalControls,
@@ -404,6 +407,9 @@ if (typeof window !== "undefined") {
bindGameBootstrapControls,
deferChatGameBootstrap,
bindGamePanelControls,
acceptGomokuInvite,
bindGomokuControls,
openGomokuPanel,
bindHorseRaceFabControls,
horseRaceFab,
bindHolidayModalControls,
@@ -564,6 +570,8 @@ if (typeof window !== "undefined") {
window.deferChatGameBootstrap = deferChatGameBootstrap;
window.lotteryPanel = lotteryPanel;
window.openGameHall = openGameHall;
window.acceptGomokuInvite = acceptGomokuInvite;
window.openGomokuPanel = openGomokuPanel;
window.horseRaceFab = horseRaceFab;
window.openLotteryPanel = openLotteryPanel;
window.openBankModal = openBankModal;
@@ -644,6 +652,7 @@ if (typeof window !== "undefined") {
bindGameHallControls();
bindGameBootstrapControls();
bindGamePanelControls();
bindGomokuControls();
bindHorseRaceFabControls();
bindHolidayModalControls();
bindChatInitialStateControls();