//********************* // create by 流云 // time: Wed Dec 24 2025 // desc: //********************* import { _decorator, Component, Node, find } from 'cc'; import { Auto_continueLastBattle } from './Auto_continueLastBattle'; import { GEvent } from 'db://assets/mx/module/event/GEvent'; import { BattleDataManager } from '../BattleGame/BattleDataManager'; const { ccclass, property } = _decorator; @ccclass('UIcontinueLastBattle') export class UIcontinueLastBattle extends Auto_continueLastBattle { curChapterId: number = 0 onLoad(): void { super.onLoad(); } onEnable(): void { super.onEnable(); } onDisable(): void { super.onDisable(); } onInit(): void { this.showOpenCenterEff(); this.showOpenMaskEff(2); this.curChapterId = Number(this.prema) } click_btnCancel() { this.close(2) } click_btnContinue() { gg.game.enterBattle(); this.close(2) } }