"use strict"; cc._RF.push(module, '852bav/oZdGGYzSGZONcKLq', 'cmp.cchampion.betlog.wnd'); // Scripts/mod/pvp/crosschampion/cmp/cmp.cchampion.betlog.wnd.js "use strict"; var BridgeWindow = require("bridge.window"); var ArenaEvent = require("arena_event"); var FxSVC = require("nx.fx.sv.expand"); var CrossChampionController = require("crosschampion_controller"); cc.Class({ "extends": BridgeWindow, properties: { nodRecords: { "default": null, type: FxSVC }, nodEmpty: { "default": null, type: cc.Node } }, onLoad: function onLoad() { this.bindGEvent(ArenaEvent.UpdateMylogListEvent, this.freshChallengeLog.bind(this)); // this.bindGEvent( ArenaEvent.UpdateLoopChallengeTimesList, this.freshSelf.bind(this) ); // this.bindGEvent( ArenaEvent.UpdateLoopChallengeTimesList, this.showNode.bind(this)); // this.bindGEvent( ArenaEvent.UpdateArena_Number, this.updateRankListInfo.bind(this)); }, onOpenConfigs: function onOpenConfigs(_params) { var CC = CrossChampionController.getInstance(); if (CC) { CC.sender26205(); } }, // 重载:关闭前 onPreClosed: function onPreClosed() { this.nodRecords.rebuild([]); }, freshChallengeLog: function freshChallengeLog(_cdata) { var records = _cdata; this.nodRecords.rebuild(records); nx.gui.setActive(this.nodEmpty, "", nx.dt.arrEmpty(records)); } }); cc._RF.pop();