"use strict"; cc._RF.push(module, '42619u9/4dCZI2E2fa5QFZJ', 'SharePanelViewMediator'); // Script/view/sharePanel/SharePanelViewMediator.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 SharePanelViewMediator = /** @class */ (function (_super) { __extends(SharePanelViewMediator, _super); function SharePanelViewMediator() { return _super !== null && _super.apply(this, arguments) || this; } SharePanelViewMediator.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); }; SharePanelViewMediator.prototype.viewDidAppear = function () { }; SharePanelViewMediator.prototype.destroy = function () { }; return SharePanelViewMediator; }(BaseMediator_1.default)); exports.default = SharePanelViewMediator; cc._RF.pop();