"use strict"; cc._RF.push(module, '38b9ca0RmhCMbUBRXbt4CRs', 'MissionPanelMediator'); // Script/view/missionPanel/MissionPanelMediator.ts "use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var BaseMediator_1 = require("../../../lightMVC/core/base/BaseMediator"); var MissionPanelMediator = /** @class */ (function (_super) { __extends(MissionPanelMediator, _super); function MissionPanelMediator() { return _super !== null && _super.apply(this, arguments) || this; } MissionPanelMediator.prototype.init = function (data) { console.log(data + "跳转。。。"); this.view.drawView(); // let playerModel = this.getModel(PlayerModel); // this.view.setLevelDisplay(playerModel.getPlayerLv()); // // 监听修改经验事件 // this.bindEvent(PopAView.UPDATE_LEVEL, (exp)=>{ // this.sendCmd(UpdateExpCommand, exp); // }, this); // this.registerNoti(Notification.UPDATE_EXP_FINISH, ()=>{ // this.view.setLevelDisplay(playerModel.getPlayerLv()); // }, this); }; MissionPanelMediator.prototype.viewDidAppear = function () { }; MissionPanelMediator.prototype.destroy = function () { }; return MissionPanelMediator; }(BaseMediator_1.default)); exports.default = MissionPanelMediator; cc._RF.pop();