bin-debug/SK_Game/WarOver.js

(开头部分) 16KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

var __reflect = (this && this.__reflect) || function (p, c, t) {
    p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = this && this.__extends || function __extends(t, e) { 
 function r() { 
 this.constructor = t;
}
for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
r.prototype = e.prototype, t.prototype = new r();
};
var game;
(function (game) {
    var WarOver = (function (_super) {
        __extends(WarOver, _super);
        function WarOver() {
            var _this = _super.call(this) || this;
            _this.addEventListener(eui.UIEvent.COMPLETE, _this.initUI, _this);
            _this.skinName = "resource/egamexml/warover.exml"; //全路径名
            return _this;
        }
        WarOver.prototype.initUI = function () {
            //自适应
            Sys_Gameset.setEXMLAuto(this);
            this.gobuy.addEventListener(egret.TouchEvent.TOUCH_TAP, this.gobuy1, this);
            this.goqianghua.addEventListener(egret.TouchEvent.TOUCH_TAP, this.goqianghu1, this);
            //默认未分享倍数
            this.shareBeis = 1;
            //设置猎魔倍数
            this.LieMobeishu = 1;
            this.suipianGuai = -1;
        };
        WarOver.prototype.gobuy1 = function () {
            var TieJiangPlane = new game.TieJiang();
            this.parent.addChildAt(TieJiangPlane, 998);
        };
        WarOver.prototype.goqianghu1 = function () {
            var FumoPlane = new game.Fumota();
            this.parent.addChildAt(FumoPlane, 996);
        };
        //是猎魔
        WarOver.prototype.isLieMo = function (_lv) {
            MyData.NowGW_ScreenWarbg = 3;
            this.isLieMoBot = true;
            this.LieMobeishu = 3;
            this.OverGameShow();
        };
        WarOver.prototype.tiantiPk = function (bot, pkeid) {
            this.tiantipks = bot;
            this.thepkid = pkeid;
            this.OverGameShow();
        };
        WarOver.prototype.lieMoPost = function () {
            if (MyData.WarWin == true) {
                var post_Creats = "userid=" + MyData.User_SX.myUserID + "&serverid=" + MyData.MyServerID;
                ;
                Sys_PostJson.sendPostRequest(Sys_GameConfig.ServerPost.LieMoOverAPI, post_Creats, this.liemoOver, this);
            }
            else {
                this.backLiemo();
            }
后面还有 301 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。