迁移钓鱼游戏脚本

This commit is contained in:
2026-04-25 14:43:33 +08:00
parent dac8adfc5a
commit 9f61dcc619
4 changed files with 631 additions and 575 deletions
+17 -3
View File
@@ -31,7 +31,7 @@
* - holiday-modal.js:处理节日福利弹窗和系统消息入口。
* - initial-state.js:恢复首屏历史消息、欢迎消息、入场特效和挂起婚姻事件。
* - bank-modal.js:处理银行弹窗、转账、排行和标签切换。
* - fishing.js:处理钓鱼入口与自动钓鱼相关交互
* - fishing.js:处理钓鱼抛竿、收竿、浮漂和自动钓鱼循环
* - fortune-panel.js:提供神秘占卜 fortunePanel Alpine 组件。
* - profile-controls.js:处理用户资料和资料相关按钮。
* - shop-controls.js:处理商店弹窗的基础按钮事件。
@@ -106,7 +106,7 @@ export {
switchBankTab,
toggleBankRankSort,
} from "./chat-room/bank-modal.js";
export { bindFishingControls } from "./chat-room/fishing.js";
export { bindFishingControls, checkAndAutoStartFishing, createBobber, reelFish, removeBobber, resetFishingBtn, startFishing, stopAutoFishing } from "./chat-room/fishing.js";
export { bindFortunePanelControls, fortunePanel } from "./chat-room/fortune-panel.js";
export { bindProfileControls } from "./chat-room/profile-controls.js";
export { bindShopControls } from "./chat-room/shop-controls.js";
@@ -200,7 +200,7 @@ import {
switchBankTab,
toggleBankRankSort,
} from "./chat-room/bank-modal.js";
import { bindFishingControls } from "./chat-room/fishing.js";
import { bindFishingControls, checkAndAutoStartFishing, createBobber, reelFish, removeBobber, resetFishingBtn, startFishing, stopAutoFishing } from "./chat-room/fishing.js";
import { bindFortunePanelControls, fortunePanel } from "./chat-room/fortune-panel.js";
import { bindProfileControls } from "./chat-room/profile-controls.js";
import { bindShopControls } from "./chat-room/shop-controls.js";
@@ -314,6 +314,13 @@ if (typeof window !== "undefined") {
switchBankTab,
toggleBankRankSort,
bindFishingControls,
checkAndAutoStartFishing,
createBobber,
reelFish,
removeBobber,
resetFishingBtn,
startFishing,
stopAutoFishing,
bindFortunePanelControls,
fortunePanel,
bindMarriageStatusControls,
@@ -408,6 +415,13 @@ if (typeof window !== "undefined") {
window.openLotteryPanel = openLotteryPanel;
window.openBankModal = openBankModal;
window.showLotteryMsg = showLotteryMsg;
window.checkAndAutoStartFishing = checkAndAutoStartFishing;
window.createBobber = createBobber;
window.reelFish = reelFish;
window.removeBobber = removeBobber;
window.resetFishingBtn = resetFishingBtn;
window.startFishing = startFishing;
window.stopAutoFishing = stopAutoFishing;
window.buyVip = buyVip;
window.closeVipModal = closeVipModal;
window.openVipModal = openVipModal;