Commit f513fccf authored by 王炽's avatar 王炽

6666666

parent 877581ed
## 安装和更新构建工具 ## 安装和更新构建工具
``` bash 重新拉取代码,然后安装依赖。
git clone git@gitlab2.dui88.com:clq/db-game-template.git ``` bash
``` git pull && cnpm install
重新拉取代码,然后安装依赖。 ```
``` bash ## 启动本地服务器
cd db-game-template && git pull && cnpm install ``` bash
``` npm run dev
```
## 项目创建和维护流程 之后会自动打开浏览器。建议在vscode中f5调试,效率更高。
### 先从master建立一个分支
``` bash ## 发布
git checkout -b kickball-20180910 ### 全发布
``` ```bash
npm run build
### push分支到远程 ```
``` bash ### 仅仅发布src下的TS代码
git push --set-upstream origin kickball-20180910 ``` bash
``` npm run buildTS
```
## 启动本地服务器 之后只需要更新皮肤中的`output.js`文件的版本号
``` bash ```js
npm run dev <script crossorigin="anonymous" src="//yun.duiba.com.cn/db_games/activity/demo/1537173012/output.js"></script>
``` ```
之后会自动打开浏览器。建议把`.buildrc.js``opn`选项设置为`0`来禁用浏览器自动打开,在vscode中f5调试。 ### 仅仅发布exmls文件
``` bash
## 构建发布 npm run buildExml
### 全发布 ```
```bash 之后只需要更新皮肤中的`default.thm.js`文件的版本号
npm run build ```js
``` <script crossorigin="anonymous" src="//yun.duiba.com.cn/db_games/activity/demo/1537172754/resource/default.thm.js"></script>
### 仅仅发布src下的TS代码 ```
``` bash
npm run buildTS ## demo
``` - demo皮肤 https://mng.duiba.com.cn/DuibaNgameBrick/edit/476
之后只需要更新皮肤中的`output.js`文件的版本号 - demo线上url http://activity-2.m.duiba.com.cn/ngame/index?id=3122353&dbnewopen&dpm=1.5.677.4&dcm=202.3122353.4.677
```js
<script crossorigin="anonymous" src="//yun.duiba.com.cn/db_games/activity/game/1537173012/output.js"></script> ## 项目结构介绍
``` ### .vscode
### 仅仅发布exmls文件 vscode调试配置文件,需要提前安装chrome debugger插件。
``` bash ### egret
npm run buildExml egret相关根目录。特别说明:暂时无法把其中文件放到根目录,后续优化。
``` - bin-release 发布文件目录,oss提交根目录
之后只需要更新皮肤中的`default.thm.js`文件的版本号 - libs库文件夹
```js - resource对应egret的resource
<script crossorigin="anonymous" src="//yun.duiba.com.cn/db_games/activity/game/1537172754/resource/default.thm.js"></script> - scripts为发布相关脚本
``` - src源码目录。
- template勿删。
## demo - autoMerger.js生成图集合并的项目配置文件。
- demo皮肤 https://mng.duiba.com.cn/DuibaNgameBrick/edit/551 - egretProperties.json,egret项目配置
- demo线上url https://activity.m.duiba.com.cn/ngame/index?id=3202399&appKey=jlg88lyxz7siqtmr&openBs=openbs - index.html,入口文件。
- project.json,同以前,后续考虑优化掉。
## 项目结构介绍 - publish.js oss发布文件。
### .vscode - tsconfig.json ,ts配置。
vscode调试配置文件,需要提前安装chrome debugger插件。 - wingProperties.json,egret wing配置。
### egret
egret相关根目录。特别说明:暂时无法把其中文件放到根目录,后续优化。 ### mock
- bin-release 发布文件目录,oss提交根目录 mock配置,同以前。
- libs库文件夹 ### .buildrc.js
- resource对应egret的resource 构建配置
- scripts为发布相关脚本 ### .npmrc
- src源码目录。 npm源配置。
- template勿删。 ### build.js
- autoMerger.js生成图集合并的项目配置文件。 构建脚本。
- egretProperties.json,egret项目配置
- index.html,入口文件。 ## 说明
- project.json,同以前,后续考虑优化掉。 ### 自动化图集合并说明
- publish.js oss发布文件。 不会合并组内的jpg。一般jpg都是外部加载,合入png图集,会显著增加png图集的体积
- tsconfig.json ,ts配置。
- wingProperties.json,egret wing配置。 ## 未来
- 增加webp支持,提升载入速度。
### mock - 基于asm的mock api
mock配置,同以前。 - 更快的编译(优化devtool)
### .buildrc.js - 更高效的研发:引入HRM
构建配置
### .npmrc ## 背景
npm源配置。 尽量保持以往的开发习惯,减少工作流的环节变更,减少迁移引擎导致的成本
### build.js
构建脚本。 ## 优势
- 一键发布
## 说明 - 自动化编译,极快的编译速度,极致的开发效率。抛弃了egret build,因为它非常的慢,空项目编译2秒,项目代码越多编译越慢,而且还需要手动编译。
### 自动化图集合并说明 - 非常快的首屏载入速度。合并了所有egret相关库为单独一个文件 //yun.duiba.com.cn/db_games/lib2_game.min.js,抛弃了非常慢的基于manifest的串行加载。(egert p2.js cdn //yun.duiba.com.cn/db_games/physics.min.js)
不会合并组内的jpg。一般jpg都是外部加载,合入png图集,会显著增加png图集的体积 - tinypng图片压缩由手动升级为自动,大大提升研发效率
- 自动化合并图集。开发阶段不需要合并图集,大大提升开发效率。
## 优势 - 修改exmls等其他项目文件后自动刷新浏览,进一步提升研发效率。
- 一键发布 - 0成本迁移tc和tw(无需要修改代码)
- 自动化编译,极快的编译速度,极致的开发效率。抛弃了egret build,因为它非常的慢,空项目编译2秒,项目代码越多编译越慢,而且还需要手动编译。 - 0成本迁移mock
- 非常快的首屏载入速度。合并了所有egret相关库为单独一个文件 //yun.duiba.com.cn/db_games/lib2_game.min.js,抛弃了非常慢的基于manifest的串行加载。(egert p2.js cdn //yun.duiba.com.cn/db_games/physics.min.js) - 暂不使用egret的网络通讯库,仍然使用zepto(有空优化)
- tinypng图片压缩由手动升级为自动,大大提升研发效率 - 其他无成本迁移的开发习惯,比如自动编译、自动刷新浏览器、编辑器vscode、webstorm习惯等。
- 自动化合并图集。开发阶段不需要合并图集,大大提升开发效率。 - 项目初始化简化:现在依赖只需要安装一次,不需要每个项目都安装一次。移除了project.json。
- 修改exmls等其他项目文件后自动刷新浏览,进一步提升研发效率。 - 和其他egret工具、流程兼容,比如exml编辑器egret wing。
- 0成本迁移tc和tw(无需要修改代码) - 以前一个皮就是一个项目。现在只有一个vscode项目,方便管理项目。
- 0成本迁移mock - 使用新的git流,可以有效的减少整个仓库的体积,几十上百个项目,其实有用的不多
- 暂不使用egret的网络通讯库,仍然使用zepto(有空优化) - 相对以前发布速度极快。只有代码变更的时候,只需要编译ts发布,只有exmls文件变更的时候,只发布exmls,大大节省了发布时间。
- 其他无成本迁移的开发习惯,比如自动编译、自动刷新浏览器、编辑器vscode、webstorm习惯等。 - 现在代码里有基本的panel,scene,loading可以参考一下,后续会独立成类似tl、wx的库
- 项目初始化简化:现在依赖只需要安装一次,不需要每个项目都安装一次。移除了project.json。
- 和其他egret工具、流程兼容,比如exml编辑器egret wing。 ## 项目创建和维护流程
- 以前一个皮就是一个项目。现在只有一个vscode项目,方便管理项目。
- 使用新的git流,可以有效的减少整个仓库的体积,几十上百个项目,其实有用的不多 1.先建立一个分支
- 相对以前发布速度极快。只有代码变更的时候,只需要编译ts发布,只有exmls文件变更的时候,只发布exmls,大大节省了发布时间。
- 现在代码里有基本的panel,scene,loading可以参考一下,后续会独立成类似tl、wx的库 git checkout -b kickball-20180910
\ No newline at end of file
2.然后duiba-games下直接创建【项目名称】的文件夹kickball-20180910
3.push分支到远程
git push --set-upstream origin kickball-20180910
4.然后在分支下开发,如果是新类型游戏,将来可能需要换皮的,那么备份到backup下。移动 kickball-20180910到backup。
5.然后合并到主分支。
git checkout dev
git merge kickball-20180910
git push
6、因为已经backup,所以这个分支已经没用了,删除分支
git branch -D kickball-20180910
git push origin :kickball-20180910
如果不需backup后面要维护,那么留着分支,不必合并到主分支。这样可以避免频繁提交导致的频繁git pull,提升效率。
\ No newline at end of file
// let argvs = JSON.parse(process.env.npm_config_argv); // let argvs = JSON.parse(process.env.npm_config_argv);
// let remain = argvs.remain; // let remain = argvs.remain;
let cmd = process.argv[2]; let cmd = process.argv[2];
const DBGBuild = require('duiba-game-build'); const DBGBuild = require('duiba-game-build');
const config = require('./.buildrc'); const config = require('./.buildrc');
let build = new DBGBuild(config); let build = new DBGBuild(config);
if (cmd === 'build' && process.argv[3] === 'prod') { if (cmd === 'build' && process.argv[3] === 'prod') {
// if (cmd === 'build' && remain[1] === 'prod') { // if (cmd === 'build' && remain[1] === 'prod') {
cmd = 'buildProd'; cmd = 'buildProd';
if (process.argv[4] === 'ts') if (process.argv[4] === 'ts')
cmd = 'buildProdTS'; cmd = 'buildProdTS';
if (process.argv[4] === 'exml') if (process.argv[4] === 'exml')
cmd = 'buildProdEXML'; cmd = 'buildProdEXML';
} }
build[cmd]('egret'); build[cmd]('egret');
console.log(); \ No newline at end of file
\ No newline at end of file
let inquirer = require('inquirer'); let inquirer = require('inquirer');
const spawn = require('cross-spawn'); const spawn = require('cross-spawn');
const questions = require('./question'); const questions = require('./question');
let moment = require('moment'); let moment = require('moment');
const today = moment().format('YYYYMMDD'); const today = moment().format('YYYYMMDD');
inquirer.prompt(questions).then(answers => { inquirer.prompt(questions).then(answers => {
let cmdType = answers.commandType || ''; let cmdType = answers.commandType || '';
let skinName = answers.skinName || ''; let skinName = answers.skinName || '';
let branchName = answers.branchName || ''; let branchName = answers.branchName || '';
let cmd = ''; let cmd = '';
switch (cmdType) { switch (cmdType) {
case 'create': case 'create':
cmd = `npm run copy ${skinName}`; cmd = `npm run copy ${skinName}`;
break; break;
case 'create_react': case 'create_react':
cmd = `npm run copy ${skinName} custom-react`; cmd = `npm run copy ${skinName} custom-react`;
break; break;
case 'prettier': case 'prettier':
cmd = 'npm run lint'; cmd = 'npm run lint';
break; break;
case 'develop': case 'develop':
cmd = `npm run dev ${skinName}`; cmd = `npm run dev ${skinName}`;
break; break;
case 'build_test': case 'build_test':
cmd = `npm run build ${skinName}`; cmd = `npm run build ${skinName}`;
break; break;
case 'build_prod': case 'build_prod':
cmd = `npm run build ${skinName} prod`; cmd = `npm run build ${skinName} prod`;
break; break;
case 'backup': case 'backup':
cmd = `npm run backup`; cmd = `npm run backup`;
break; break;
case 'create_branch': case 'create_branch':
cmd = `git checkout -b feature/${today}-${branchName}`; cmd = `git checkout -b feature/${today}-${branchName}`;
break; break;
default: default:
break; break;
} }
if (cmd) { if (cmd) {
cmd = cmd.split(' '); cmd = cmd.split(' ');
let _cmd = cmd[0]; let _cmd = cmd[0];
let _args = cmd.slice(1); let _args = cmd.slice(1);
var ls = spawn(_cmd, _args); var ls = spawn(_cmd, _args);
ls.stdout.on('data', data => { ls.stdout.on('data', data => {
console.log(`${data}`); console.log(`${data}`);
}); });
ls.stderr.on('data', data => { ls.stderr.on('data', data => {
console.log(`stderr: ${data}`); console.log(`stderr: ${data}`);
}); });
ls.on('close', code => { ls.on('close', code => {
// console.log(`子进程退出码:${code}`); // console.log(`子进程退出码:${code}`);
}); });
} }
}); });
{ {
"global": { "global": {
"globalBindingDataTestObj": [], "globalBindingDataTestObj": [],
"globalBackgroundAlpha": 100, "globalAutoLayerMarkEnable": false,
"globalBackgroundX": 0, "globalAdsorbEnable": true,
"globalBackgroundY": 0, "gridColor": 8421504,
"globalBackgroundWidth": -1, "gridEnabled": false,
"globalBackgroundHeight": -1, "gridSize": 20
"globalBackgroundColor": "#ffffff",
"globalBackgroundImage": "/Users/wanghongyuan/db-game-template/egret/resource/assets/startScene/startscenebg.jpg"
}, },
"1667fb18fa6": { "1667fb18fa6": {
"bindingDataTestObj": [ "bindingDataTestObj": [
...@@ -28,25 +26,44 @@ ...@@ -28,25 +26,44 @@
} }
] ]
}, },
"166f84e4ed7": { "167c5a32d33": {
"backgroundType": "null", "guideLines": [
"useBgImage": true, {
"useBgColor": true, "type": "v",
"backgroundX": 0, "pos": 387
"backgroundY": 0, },
"backgroundWidth": -1, {
"backgroundHeight": -1, "type": "h",
"backgroundAlpha": 100 "pos": 359
}
]
}, },
"16705cb4eec": { "168117b0b91": {
"backgroundType": "user", "guideLines": [
"backgroundImage": "/Users/wanghongyuan/db-game-template/egret/resource/assets/startScene/startscenebg.jpg", {
"backgroundAlpha": 100, "type": "v",
"backgroundX": 0, "pos": 173.5
"backgroundY": 0, },
"backgroundWidth": -1, {
"backgroundHeight": -1, "type": "h",
"useBgImage": true, "pos": 118.5
"useBgColor": true }
],
"guideLinesEnabled": true
},
"168654fb707": {
"guideLinesEnabled": false
},
"1687055130d": {
"guideLines": [
{
"type": "v",
"pos": 369.333
},
{
"type": "v",
"pos": 110.667
}
]
} }
} }
\ No newline at end of file
{ {
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "Wing 内置播放器调试", "name": "Wing 内置播放器调试",
"type": "chrome", "type": "chrome",
"request": "launch", "request": "launch",
"file": "index.html", "file": "index.html",
//"url": "http://mysite.com/index.html", //"url": "http://mysite.com/index.html",
"runtimeExecutable": "${execPath}", "runtimeExecutable": "${execPath}",
"sourceMaps": true, "sourceMaps": true,
"webRoot": "${workspaceRoot}", "webRoot": "${workspaceRoot}",
"preLaunchTask":"build", "preLaunchTask":"build",
"port":5826 "port":5826
}, },
{ {
"name": "使用本机 Chrome 调试", "name": "使用本机 Chrome 调试",
"type": "chrome", "type": "chrome",
"request": "launch", "request": "launch",
"file": "index.html", "file": "index.html",
//"url": "http://mysite.com/index.html", //"url": "http://mysite.com/index.html",
"runtimeExecutable": "", "runtimeExecutable": "",
"sourceMaps": true, "sourceMaps": true,
"webRoot": "${workspaceRoot}", "webRoot": "${workspaceRoot}",
"preLaunchTask":"build", "preLaunchTask":"build",
"userDataDir":"${tmpdir}", "userDataDir":"${tmpdir}",
"port":5826 "port":5826
} }
] ]
} }
\ No newline at end of file
{ {
"version": "0.1.0", "version": "0.1.0",
"command": "egret", "command": "egret",
"isShellCommand": true, "isShellCommand": true,
"tasks": [ "tasks": [
{ {
"taskName": "build", "taskName": "build",
"showOutput": "always", "showOutput": "always",
"args": [ "args": [
"build", "build",
"-sourcemap" "-sourcemap"
], ],
"problemMatcher": "$tsc" "problemMatcher": "$tsc"
}, },
{ {
"taskName": "clean", "taskName": "clean",
"showOutput": "always", "showOutput": "always",
"args": [ "args": [
"build", "build",
"-e" "-e"
], ],
"problemMatcher": "$tsc" "problemMatcher": "$tsc"
}, },
{ {
"taskName": "publish", "taskName": "publish",
"showOutput": "always", "showOutput": "always",
"args": [ "args": [
"publish" "publish"
], ],
"problemMatcher": "$tsc" "problemMatcher": "$tsc"
} }
] ]
} }
\ No newline at end of file
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
var fs = require("fs"); var fs = require("fs");
var path = require("path"); var path = require("path");
var resjsons = ["resource/default.res.json"]; var resjsons = ["resource/default.res.json"];
//要扫描的res.json文件 //要扫描的res.json文件
var targetDir = "resource/TextureMerger"; var targetDir = "resource/TextureMerger";
//输出目录 //输出目录
var pathNor = path.relative(targetDir, "resource"); var pathNor = path.relative(targetDir, "resource");
//返回一个相对路径 //返回一个相对路径
var tempindex = 0; var tempindex = 0;
//创建输出文件夹 //创建输出文件夹
if (resjsons.length > 0) { if (resjsons.length > 0) {
if (!fs.existsSync(targetDir)) { if (!fs.existsSync(targetDir)) {
// var paths = path.normalize(targetDir).split("\\"); //windows 下使用 // var paths = path.normalize(targetDir).split("\\"); //windows 下使用
var paths = path.normalize(targetDir).split("\/"); var paths = path.normalize(targetDir).split("\/");
//mac linux 下使用 //mac linux 下使用
var target = "."; var target = ".";
for (var _i = 0, for (var _i = 0,
paths_1 = paths; _i < paths_1.length; _i++) { paths_1 = paths; _i < paths_1.length; _i++) {
var p = paths_1[_i]; var p = paths_1[_i];
// target += ("\\" + p); // windows 下使用 // target += ("\\" + p); // windows 下使用
target += ("\/" + p); target += ("\/" + p);
// mac linux 下使用 // mac linux 下使用
if (!fs.existsSync(target)) if (!fs.existsSync(target))
// 根据路径创建文件夹 // 根据路径创建文件夹
fs.mkdirSync(target); fs.mkdirSync(target);
} }
} }
} }
var _loop_1 = function (resJson) { var _loop_1 = function (resJson) {
// 判断是否是res.json文件 // 判断是否是res.json文件
if (fs.existsSync(resJson) && resJson.indexOf("res.json") > -1) { if (fs.existsSync(resJson) && resJson.indexOf("res.json") > -1) {
var defaultJson = fs.readFileSync(resJson, "utf-8"); var defaultJson = fs.readFileSync(resJson, "utf-8");
// 解析res.json文件内容 // 解析res.json文件内容
var defaultObject = JSON.parse(defaultJson); var defaultObject = JSON.parse(defaultJson);
var groups = defaultObject.groups; var groups = defaultObject.groups;
//组 //组
var resources = defaultObject.resources; var resources = defaultObject.resources;
//资源 //资源
var resourcesHash_1 = {}; var resourcesHash_1 = {};
// 用来存放resources的资源信息 // 用来存放resources的资源信息
// 遍历resources // 遍历resources
for (var _i = 0, for (var _i = 0,
resources_1 = resources; _i < resources_1.length; _i++) { resources_1 = resources; _i < resources_1.length; _i++) {
var resource = resources_1[_i]; var resource = resources_1[_i];
resourcesHash_1[resource.name] = resource.url; resourcesHash_1[resource.name] = resource.url;
} }
// 遍历groups // 遍历groups
for (var _a = 0, for (var _a = 0,
groups_1 = groups; _a < groups_1.length; _a++) { groups_1 = groups; _a < groups_1.length; _a++) {
var group = groups_1[_a]; var group = groups_1[_a];
var tmproject = {}; var tmproject = {};
//用来存放tmproject文件的信息 //用来存放tmproject文件的信息
// tmproject文件配置 // tmproject文件配置
tmproject["options"] = { tmproject["options"] = {
"layoutMath": "2", "layoutMath": "2",
"sizeMode": "2n", "sizeMode": "2n",
"useExtension": 1, "useExtension": 1,
"layoutGap": 1, "layoutGap": 1,
"extend": 0 "extend": 0
}; };
// projectName // projectName
tmproject["projectName"] = group.name; tmproject["projectName"] = group.name + "_" + tempindex;
// tmproject["projectName"] = group.name + "_" + tempindex;
// 版本
// 版本 tmproject["version"] = 5;
tmproject["version"] = 5;
tempindex++;
tempindex++;
// 获取res.json分组的keys, 并分割成数组
// 获取res.json分组的keys, 并分割成数组
var oldkeys = group.keys.split(",");
var oldkeys = group.keys.split(",");
var oldkeysHash = {};
var oldkeysHash = {};
// 遍历oldkeys
// 遍历oldkeys
for (var _b = 0,
for (var _b = 0, oldkeys_1 = oldkeys; _b < oldkeys_1.length; _b++) {
oldkeys_1 = oldkeys; _b < oldkeys_1.length; _b++) {
var key = oldkeys_1[_b];
var key = oldkeys_1[_b];
// 保存到oldkeysHash对象中
// 保存到oldkeysHash对象中 oldkeysHash[key] = true;
oldkeysHash[key] = true;
}
}
var newKeys = [];
var newKeys = [];
// 遍历oldkeys
// 遍历oldkeys
for (var _c = 0,
for (var _c = 0, oldkeys_2 = oldkeys; _c < oldkeys_2.length; _c++) {
oldkeys_2 = oldkeys; _c < oldkeys_2.length; _c++) {
var key = oldkeys_2[_c];
var key = oldkeys_2[_c];
if (key.indexOf("json") == -1) {
if (key.indexOf("json") == -1) {
if (!oldkeysHash[key.replace("png", "json")]) {
if (!oldkeysHash[key.replace("png", "json")]) { //粒子和龙骨对应的图集不合图
//粒子和龙骨对应的图集不合图
if (!oldkeysHash[key.replace("png", "fnt")])
if (!oldkeysHash[key.replace("png", "fnt")]) //位图字体
//位图字体 newKeys.push(key);
newKeys.push(key);
}
}
// else
// else
// if (key.indexOf("jpg") > -1) {
// if (key.indexOf("jpg") > -1) {
// newKeys.push(key);
// newKeys.push(key);
// }
// }
}
}
}
}
oldkeysHash = {};
oldkeysHash = {};
oldkeys = [];
oldkeys = [];
// files路径
// files路径
var urls = newKeys.map(function (key) {
var urls = newKeys.map(function (key) {
return path.join(pathNor, resourcesHash_1[key]);
return path.join(pathNor, resourcesHash_1[key]);
});
});
tmproject["files"] = urls;
tmproject["files"] = urls;
// 根据tmproject写入文件
// 根据tmproject写入文件
if (urls.length > 0) {
if (urls.length > 0) {
fs.writeFileSync(path.join(targetDir, tmproject["projectName"] + ".tmproject"), JSON.stringify(tmproject));
fs.writeFileSync(path.join(targetDir, tmproject["projectName"] + ".tmproject"), JSON.stringify(tmproject));
console.log('==> '+tmproject["projectName"] + '.tmproject创建完毕.')
console.log('==> '+tmproject["projectName"] + '.tmproject创建完毕.') }
}
tmproject = {};
tmproject = {};
}
}
}
}
};
};
//根据数组开始扫描
//根据数组开始扫描 for (var _a = 0,
for (var _a = 0, resjsons_1 = resjsons; _a < resjsons_1.length; _a++) {
resjsons_1 = resjsons; _a < resjsons_1.length; _a++) {
var resJson = resjsons_1[_a];
var resJson = resjsons_1[_a];
_loop_1(resJson);
_loop_1(resJson);
} }
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var NetManager_1 = require("../../../libs/tw/manager/NetManager");
var DataManager_1 = require("../../../libs/tw/manager/DataManager");
/**
* 开始游戏
* @param callback
* @param isAgain
* @param credits
* @param customizedType
*/
var doStart = function (callback, isAgain, credits, customizedType) {
if (isAgain === void 0) { isAgain = false; }
if (window['requirelogin'] && window['config_notrequirelogin'] === undefined) {
window['requirelogin']();
return;
}
NetManager_1.NetManager.ins.doStart(function (success) {
if (success) {
getStartOrderStatus(callback, customizedType);
}
else {
callback(success);
}
}, isAgain, credits, customizedType);
};
/**
* 查询订单结果
* @param callback
* @param ticketId
* @param customizedType
*/
var getStartOrderStatus = function (callback, customizedType) {
NetManager_1.NetManager.ins.getStartStatus(callback, DataManager_1.DataManager.ins.doStartData.ticketId, function () { return DataManager_1.DataManager.ins.getStartStatusData.code != 1; }, 5, customizedType);
};
exports.default = doStart;
//# sourceMappingURL=doStart.js.map
\ No newline at end of file
{"version":3,"file":"doStart.js","sourceRoot":"","sources":["../../../../libs/new_tw/ctrls/doStart.ts"],"names":[],"mappings":";;AAAA,kEAAiE;AACjE,oEAAmE;AAEnE;;;;;;GAMG;AACH,IAAM,OAAO,GAAG,UAAC,QAAkB,EAAE,OAAe,EAAE,OAAgB,EAAE,cAAuB;IAA1D,wBAAA,EAAA,eAAe;IAChD,EAAE,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,MAAM,CAAC,wBAAwB,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC;QAC3E,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC;QACzB,MAAM,CAAC;IACX,CAAC;IACD,uBAAU,CAAC,GAAG,CAAC,OAAO,CAAC,UAAC,OAAgB;QACpC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACV,mBAAmB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;QAClD,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,QAAQ,CAAC,OAAO,CAAC,CAAC;QACtB,CAAC;IACL,CAAC,EACG,OAAO,EACP,OAAO,EACP,cAAc,CAAC,CAAC;AACxB,CAAC,CAAA;AAED;;;;;GAKG;AACH,IAAM,mBAAmB,GAAG,UAAC,QAAkB,EAAE,cAAuB;IACpE,uBAAU,CAAC,GAAG,CAAC,cAAc,CACzB,QAAQ,EACR,yBAAW,CAAC,GAAG,CAAC,WAAW,CAAC,QAAQ,EACpC,cAAQ,MAAM,CAAC,yBAAW,CAAC,GAAG,CAAC,kBAAkB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,EAC9D,CAAC,EACD,cAAc,CAAC,CAAC;AACxB,CAAC,CAAA;AACD,kBAAe,OAAO,CAAC"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var NetManager_1 = require("../../tw/manager/NetManager");
var DataManager_1 = require("../../tw/manager/DataManager");
/**
* 提交游戏成绩
* @param callback
* @param score 得分
* @param checkScore 是否校验得分
* @param customizedType 定制类型 1推币机
*/
var submit = function (callback, score, checkScore, customizedType) {
var allDynamics = [];
gameSubmitData(callback, score, allDynamics, checkScore, customizedType);
};
/**
* 提交游戏成绩
* @param callback
* @param score 得分
* @param allDynamics 防作弊数据
* @param checkScore 是否校验得分
* @param customizedType 定制类型 1推币机
*/
var gameSubmitData = function (callback, score, allDynamics, checkScore, customizedType) {
NetManager_1.NetManager.ins.gameSubmit(function (success) {
if (success) {
getSubmitResult(callback, DataManager_1.DataManager.ins.gameSubmitData.orderId);
}
else {
callback(success);
}
}, DataManager_1.DataManager.ins.doStartData.ticketId, score, '[]', DataManager_1.DataManager.ins.doStartData.submitToken, JSON.stringify(allDynamics), checkScore, customizedType);
};
/**
* 查询提交结果
* @param callback
* @param orderId
*/
var getSubmitResult = function (callback, orderId) {
NetManager_1.NetManager.ins.getSubmitResult(callback, orderId, function () {
return DataManager_1.DataManager.ins.gameGetSubmitResultData.flag;
});
};
exports.default = submit;
//# sourceMappingURL=submit.js.map
\ No newline at end of file
{"version":3,"file":"submit.js","sourceRoot":"","sources":["../../../../libs/new_tw/ctrls/submit.ts"],"names":[],"mappings":";;AACA,0DAAyD;AACzD,4DAA2D;AAE3D;;;;;;GAMG;AACH,IAAM,MAAM,GAAG,UAAC,QAAkB,EAAE,KAAa,EAAE,UAAoB,EAAE,cAAuB;IAC5F,IAAM,WAAW,GAAG,EAAE,CAAC;IACvB,cAAc,CAAC,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;AAC7E,CAAC,CAAA;AAED;;;;;;;EAOE;AACF,IAAM,cAAc,GAAG,UAAC,QAAkB,EAAE,KAAa,EAAE,WAA6B,EAAE,UAAoB,EAAE,cAAuB;IACnI,uBAAU,CAAC,GAAG,CAAC,UAAU,CACrB,UAAC,OAAgB;QACb,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACV,eAAe,CAAC,QAAQ,EAAE,yBAAW,CAAC,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACtE,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,QAAQ,CAAC,OAAO,CAAC,CAAC;QACtB,CAAC;IACL,CAAC,EACD,yBAAW,CAAC,GAAG,CAAC,WAAW,CAAC,QAAQ,EACpC,KAAK,EACL,IAAI,EACJ,yBAAW,CAAC,GAAG,CAAC,WAAW,CAAC,WAAW,EACvC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAC3B,UAAU,EACV,cAAc,CAAC,CAAC;AACxB,CAAC,CAAA;AAED;;;;GAIG;AACH,IAAM,eAAe,GAAG,UAAC,QAAkB,EAAE,OAAe;IACxD,uBAAU,CAAC,GAAG,CAAC,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE;QAC9C,MAAM,CAAC,yBAAW,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,CAAC;IACxD,CAAC,CAAC,CAAC;AACP,CAAC,CAAA;AAED,kBAAe,MAAM,CAAC"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var doStart_1 = require("./doStart");
var submit_1 = require("./submit");
var submitAfterDostart = function (cb, score) {
doStart_1.default(function () {
setTimeout(function () {
submit_1.default(cb, score);
}, 200);
});
};
exports.default = submitAfterDostart;
//# sourceMappingURL=submitAfterDostart.js.map
\ No newline at end of file
{"version":3,"file":"submitAfterDostart.js","sourceRoot":"","sources":["../../../../libs/new_tw/ctrls/submitAfterDostart.ts"],"names":[],"mappings":";;AAAA,qCAAgC;AAChC,mCAA8B;AAE9B,IAAM,kBAAkB,GAAG,UAAC,EAAE,EAAE,KAAK;IACjC,iBAAO,CACH;QACI,UAAU,CAAC;YACP,gBAAM,CAAC,EAAE,EAAE,KAAK,CAAC,CAAA;QACrB,CAAC,EAAE,GAAG,CAAC,CAAC;IACZ,CAAC,CACJ,CAAA;AACL,CAAC,CAAA;AAED,kBAAe,kBAAkB,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/1
* 组件基类
*/
var ABModule = (function () {
function ABModule(data) {
this._data = data;
var viewClass;
if (typeof this.data.viewClass === 'string') {
viewClass = eval(this.data.viewClass);
}
else {
viewClass = this.data.viewClass;
}
this._view = new viewClass();
}
Object.defineProperty(ABModule.prototype, "data", {
/**
* 模块数据
* @returns {IModuleData}
*/
get: function () {
return this._data;
},
enumerable: true,
configurable: true
});
Object.defineProperty(ABModule.prototype, "view", {
/**
* 视图
* @returns {any}
*/
get: function () {
return this._view;
},
enumerable: true,
configurable: true
});
return ABModule;
}());
exports.ABModule = ABModule;
__reflect(ABModule.prototype, "\"e:/zqty/egret/libs/tc/component/ABModule\".ABModule", ["\"e:/zqty/egret/libs/tc/interface/IDestroy\".IDestroy"]);
//# sourceMappingURL=ABModule.js.map
\ No newline at end of file
{"version":3,"file":"ABModule.js","sourceRoot":"","sources":["../../../../libs/tc/component/ABModule.ts"],"names":[],"mappings":";;;;;AAGA;;;GAGG;AACH;IAWI,kBAAY,IAAiB;QACzB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAElB,IAAI,SAAc,CAAC;QACnB,EAAE,CAAC,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC;YAC1C,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC1C,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;QACpC,CAAC;QACD,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,EAAE,CAAC;IACjC,CAAC;IA2DD,sBAAW,0BAAI;QAJf;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IAMD,sBAAc,0BAAI;QAJlB;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IACL,eAAC;AAAD,CAAC,AA3FD,IA2FC;AA3FqB,4BAAQ;AAAR,UAAA,QAAQ,+HA2F7B,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/13
* 布局枚举
*/
var LayoutType;
(function (LayoutType) {
LayoutType[LayoutType["TOP"] = 0] = "TOP";
LayoutType[LayoutType["BOTTOM"] = 1] = "BOTTOM";
LayoutType[LayoutType["LEFT"] = 2] = "LEFT";
LayoutType[LayoutType["RIGHT"] = 3] = "RIGHT";
LayoutType[LayoutType["HORIZONTAL"] = 4] = "HORIZONTAL";
LayoutType[LayoutType["VERTICAL"] = 5] = "VERTICAL";
})(LayoutType = exports.LayoutType || (exports.LayoutType = {}));
//# sourceMappingURL=LayoutType.js.map
\ No newline at end of file
{"version":3,"file":"LayoutType.js","sourceRoot":"","sources":["../../../../libs/tc/enum/LayoutType.ts"],"names":[],"mappings":";;AAAA;;;GAGG;AACH,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,yCAAO,CAAA;IACP,+CAAM,CAAA;IACN,2CAAI,CAAA;IACJ,6CAAK,CAAA;IACL,uDAAU,CAAA;IACV,mDAAQ,CAAA;AACZ,CAAC,EAPW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAOrB"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/16
* 模块类型
*/
var ModuleType;
(function (ModuleType) {
ModuleType[ModuleType["SCENE"] = 0] = "SCENE";
ModuleType[ModuleType["PANEL"] = 1] = "PANEL";
})(ModuleType = exports.ModuleType || (exports.ModuleType = {}));
//# sourceMappingURL=ModuleType.js.map
\ No newline at end of file
{"version":3,"file":"ModuleType.js","sourceRoot":"","sources":["../../../../libs/tc/enum/ModuleType.ts"],"names":[],"mappings":";;AAAA;;;GAGG;AACH,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,6CAAS,CAAA;IACT,6CAAK,CAAA;AACT,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/15
* 资源加载优先级
*/
var ResPriority;
(function (ResPriority) {
ResPriority[ResPriority["PRE"] = 0] = "PRE";
ResPriority[ResPriority["NOMARL"] = 1] = "NOMARL";
ResPriority[ResPriority["DELAY"] = 2] = "DELAY";
})(ResPriority = exports.ResPriority || (exports.ResPriority = {}));
//# sourceMappingURL=ResPriority.js.map
\ No newline at end of file
{"version":3,"file":"ResPriority.js","sourceRoot":"","sources":["../../../../libs/tc/enum/ResPriority.ts"],"names":[],"mappings":";;AAAA;;;GAGG;AACH,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,2CAAO,CAAA;IACP,iDAAM,CAAA;IACN,+CAAK,CAAA;AACT,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/26
* 时间格式
*/
var TimeFormat;
(function (TimeFormat) {
TimeFormat["HMS"] = "hms";
TimeFormat["DHMS"] = "dhms";
})(TimeFormat = exports.TimeFormat || (exports.TimeFormat = {}));
//# sourceMappingURL=TimeFormat.js.map
\ No newline at end of file
{"version":3,"file":"TimeFormat.js","sourceRoot":"","sources":["../../../../libs/tc/enum/TimeFormat.ts"],"names":[],"mappings":";;AAAA;;;GAGG;AACH,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,yBAAW,CAAA;IACX,2BAAa,CAAA;AACjB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.a = 1;
//# sourceMappingURL=index.js.map
\ No newline at end of file
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../libs/tc/index.ts"],"names":[],"mappings":";;AACa,QAAA,CAAC,GAAE,CAAC,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IData.js.map
\ No newline at end of file
{"version":3,"file":"IData.js","sourceRoot":"","sources":["../../../../libs/tc/interface/IData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IDestroy.js.map
\ No newline at end of file
{"version":3,"file":"IDestroy.js","sourceRoot":"","sources":["../../../../libs/tc/interface/IDestroy.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IModuleData.js.map
\ No newline at end of file
{"version":3,"file":"IModuleData.js","sourceRoot":"","sources":["../../../../libs/tc/interface/IModuleData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=INetData.js.map
\ No newline at end of file
{"version":3,"file":"INetData.js","sourceRoot":"","sources":["../../../../libs/tc/interface/INetData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 动画管理器
*/
var ABAnimationManager = (function () {
function ABAnimationManager() {
}
return ABAnimationManager;
}());
exports.ABAnimationManager = ABAnimationManager;
__reflect(ABAnimationManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABAnimationManager\".ABAnimationManager");
//# sourceMappingURL=ABAnimationManager.js.map
\ No newline at end of file
{"version":3,"file":"ABAnimationManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABAnimationManager.ts"],"names":[],"mappings":";;;;;AAAA;;GAEG;AACH;IAAA;IAMA,CAAC;IAAD,yBAAC;AAAD,CAAC,AAND,IAMC;AANqB,gDAAkB;AAAlB,UAAA,kBAAkB,sFAMvC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var ABAudioManager = (function () {
function ABAudioManager() {
}
return ABAudioManager;
}());
exports.ABAudioManager = ABAudioManager;
__reflect(ABAudioManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABAudioManager\".ABAudioManager");
//# sourceMappingURL=ABAudioManager.js.map
\ No newline at end of file
{"version":3,"file":"ABAudioManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABAudioManager.ts"],"names":[],"mappings":";;;;;AAAA;IACI;IAEA,CAAC;IA+DL,qBAAC;AAAD,CAAC,AAlED,IAkEC;AAlEqB,wCAAc;AAAd,UAAA,cAAc,8EAkEnC,CAAA"}
\ No newline at end of file
"use strict";
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();
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/8
* 数据管理
*/
var ABDataManager = (function (_super) {
__extends(ABDataManager, _super);
function ABDataManager() {
return _super !== null && _super.apply(this, arguments) || this;
}
return ABDataManager;
}(egret.EventDispatcher));
exports.ABDataManager = ABDataManager;
__reflect(ABDataManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABDataManager\".ABDataManager");
//# sourceMappingURL=ABDataManager.js.map
\ No newline at end of file
{"version":3,"file":"ABDataManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABDataManager.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH;IAA4C,iCAAqB;IAAjE;;IAQA,CAAC;IAAD,oBAAC;AAAD,CAAC,AARD,CAA4C,KAAK,CAAC,eAAe,GAQhE;AARqB,sCAAa;AAAb,UAAA,aAAa,4EAQlC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 模块管理器
*/
var ABModuleManager = (function () {
function ABModuleManager() {
}
return ABModuleManager;
}());
exports.ABModuleManager = ABModuleManager;
__reflect(ABModuleManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABModuleManager\".ABModuleManager");
//# sourceMappingURL=ABModuleManager.js.map
\ No newline at end of file
{"version":3,"file":"ABModuleManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABModuleManager.ts"],"names":[],"mappings":";;;;;AAEA;;GAEG;AACH;IAAA;IA2BA,CAAC;IAAD,sBAAC;AAAD,CAAC,AA3BD,IA2BC;AA3BqB,0CAAe;AAAf,UAAA,eAAe,gFA2BpC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GTime_1 = require("../util/GTime");
var ABNetManager = (function () {
function ABNetManager() {
/**
* 调用接口对象池
*/
this.callbackPool = {};
}
/**
* 发送请求
* @param net
*/
ABNetManager.prototype.send = function (net) {
var scope = this;
var gTime = '?_=' + GTime_1.GTime.getTimestamp();
var realUrl = net.uri;
if (realUrl.indexOf('?') != -1) {
gTime = '&_=' + GTime_1.GTime.getTimestamp();
}
//url加参数等特殊需求(例如再玩一次需要在dostart接口的url上加埋点)
if (net.addUrl) {
realUrl += net.addUrl;
}
// console.log(`[send][${net.uri}]${JSON.stringify(net.param)}`)
window['$'].ajax({
type: net.type,
// url: realUrl + gTime,
url: realUrl,
dataType: net.dataType,
data: net.param,
async: true,
success: function (result) {
// console.log(`[success][${net.uri}]${JSON.stringify(result)}`)
scope.onResponse(net, result);
},
error: function (message) {
scope.onError(net);
},
beforeSend: function (xhr) {
if (net.beforeSend) {
net.beforeSend(xhr);
}
}
});
};
/**
* 客集集发送表单请求
* @param net
*/
ABNetManager.prototype.sendInfo = function (net) {
var scope = this;
var gTime = '?_=' + GTime_1.GTime.getTimestamp();
var realUrl = net.uri;
if (realUrl.indexOf('?') != -1) {
gTime = '&_=' + GTime_1.GTime.getTimestamp();
}
//url加参数等特殊需求(例如再玩一次需要在dostart接口的url上加埋点)
if (net.addUrl) {
realUrl += net.addUrl;
}
// console.log(`[send][${net.uri}]${JSON.stringify(net.param)}`)
window['$'].ajax({
type: net.type,
// url: realUrl + gTime,
url: realUrl,
dataType: net.dataType,
data: JSON.stringify(net.param),
contentType: 'application/json',
async: true,
success: function (result) {
// console.log(`[success][${net.uri}]${JSON.stringify(result)}`)
scope.onResponse(net, result);
},
error: function (message) {
scope.onError(net);
},
beforeSend: function (xhr) {
if (net.beforeSend) {
net.beforeSend(xhr);
}
}
});
};
/**
* 接口底层错误
*/
ABNetManager.ERROR = 'Error';
return ABNetManager;
}());
exports.ABNetManager = ABNetManager;
__reflect(ABNetManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABNetManager\".ABNetManager");
//# sourceMappingURL=ABNetManager.js.map
\ No newline at end of file
{"version":3,"file":"ABNetManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABNetManager.ts"],"names":[],"mappings":";;;;;AACA,uCAAsC;AAGtC;IAWI;QALA;;WAEG;QACK,iBAAY,GAAQ,EAAE,CAAC;IAG/B,CAAC;IAED;;;OAGG;IACI,2BAAI,GAAX,UAAY,GAAa;QACrB,IAAI,KAAK,GAAG,IAAI,CAAC;QACjB,IAAI,KAAK,GAAW,KAAK,GAAG,aAAK,CAAC,YAAY,EAAE,CAAC;QACjD,IAAI,OAAO,GAAW,GAAG,CAAC,GAAG,CAAC;QAC9B,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;YAC7B,KAAK,GAAG,KAAK,GAAG,aAAK,CAAC,YAAY,EAAE,CAAC;QACzC,CAAC;QAED,yCAAyC;QACzC,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;YACb,OAAO,IAAI,GAAG,CAAC,MAAM,CAAC;QAC1B,CAAC;QACD,gEAAgE;QAChE,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,wBAAwB;YACxB,GAAG,EAAE,OAAO;YACZ,QAAQ,EAAE,GAAG,CAAC,QAAQ;YACtB,IAAI,EAAE,GAAG,CAAC,KAAK;YACf,KAAK,EAAE,IAAI;YACX,OAAO,EAAE,UAAU,MAAM;gBACrB,gEAAgE;gBAChE,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;YAClC,CAAC;YACD,KAAK,EAAE,UAAU,OAAO;gBACpB,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YAC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EAAE,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC;oBACjB,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;gBACxB,CAAC;YACL,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IA1FD;;OAEG;IACW,kBAAK,GAAG,OAAO,CAAC;IAsGlC,mBAAC;CAAA,AA1GD,IA0GC;AA1GqB,oCAAY;AAAZ,UAAA,YAAY,0EA0GjC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 面板管理
*/
var ABPanelManager = (function () {
function ABPanelManager() {
}
return ABPanelManager;
}());
exports.ABPanelManager = ABPanelManager;
__reflect(ABPanelManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABPanelManager\".ABPanelManager");
//# sourceMappingURL=ABPanelManager.js.map
\ No newline at end of file
{"version":3,"file":"ABPanelManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABPanelManager.ts"],"names":[],"mappings":";;;;;AAEA;;GAEG;AACH;IAEI;IACA,CAAC;IA6BL,qBAAC;AAAD,CAAC,AAhCD,IAgCC;AAhCqB,wCAAc;AAAd,UAAA,cAAc,8EAgCnC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var ABResManager = (function () {
function ABResManager() {
}
return ABResManager;
}());
exports.ABResManager = ABResManager;
__reflect(ABResManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABResManager\".ABResManager");
//# sourceMappingURL=ABResManager.js.map
\ No newline at end of file
{"version":3,"file":"ABResManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABResManager.ts"],"names":[],"mappings":";;;;;AAEA;IAAA;IAmBA,CAAC;IAAD,mBAAC;AAAD,CAAC,AAnBD,IAmBC;AAnBqB,oCAAY;AAAZ,UAAA,YAAY,0EAmBjC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 场景管理器
*/
var ABSceneManager = (function () {
function ABSceneManager() {
}
return ABSceneManager;
}());
exports.ABSceneManager = ABSceneManager;
__reflect(ABSceneManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABSceneManager\".ABSceneManager");
//# sourceMappingURL=ABSceneManager.js.map
\ No newline at end of file
{"version":3,"file":"ABSceneManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABSceneManager.ts"],"names":[],"mappings":";;;;;AACA;;GAEG;AACH;IACI;IACA,CAAC;IAqBL,qBAAC;AAAD,CAAC,AAvBD,IAuBC;AAvBqB,wCAAc;AAAd,UAAA,cAAc,8EAuBnC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var ABStageManager = (function () {
function ABStageManager() {
}
return ABStageManager;
}());
exports.ABStageManager = ABStageManager;
__reflect(ABStageManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABStageManager\".ABStageManager");
//# sourceMappingURL=ABStageManager.js.map
\ No newline at end of file
{"version":3,"file":"ABStageManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABStageManager.ts"],"names":[],"mappings":";;;;;AAEA;IAAA;IAsBA,CAAC;IAAD,qBAAC;AAAD,CAAC,AAtBD,IAsBC;AAtBqB,wCAAc;AAAd,UAAA,cAAc,8EAsBnC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var ABVideoManager = (function () {
function ABVideoManager() {
}
return ABVideoManager;
}());
exports.ABVideoManager = ABVideoManager;
__reflect(ABVideoManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABVideoManager\".ABVideoManager");
//# sourceMappingURL=ABVideoManager.js.map
\ No newline at end of file
{"version":3,"file":"ABVideoManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABVideoManager.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAmCA,CAAC;IAAD,qBAAC;AAAD,CAAC,AAnCD,IAmCC;AAnCqB,wCAAc;AAAd,UAAA,cAAc,8EAmCnC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GFun_1 = require("./GFun");
var GConsole_1 = require("./GConsole");
var GCache = (function () {
function GCache() {
}
/**
* 初始化
* @param keys
*/
GCache.init = function (keys) {
var i = 0;
var len = keys.length;
this.gKey = '';
for (i; i < len; i++) {
this.gKey += '_' + keys[i];
}
};
/**
* 写入缓存
* @param key
* @param value
* @param type type 缓存类型 localStorage永久缓存 sessionStorage浏览器生命周期结束前'
*/
GCache.writeCache = function (key, value, type) {
if (type === void 0) { type = 'localStorage'; }
if (!window[type]) {
GConsole_1.GConsole.log(GFun_1.GFun.replace('webview不支持{0}', [type]));
return;
}
window[type].setItem(key + this.gKey, value);
};
/**
* 读取缓存
* @param key
* @param type type 缓存类型 localStorage永久缓存 sessionStorage浏览器生命周期结束前'
* @return
*/
GCache.readCache = function (key, type) {
if (type === void 0) { type = 'localStorage'; }
if (!window[type]) {
GConsole_1.GConsole.log(GFun_1.GFun.replace('webview不支持{0}', [type]));
return;
}
return window[type].getItem(key + this.gKey);
};
/**
* 删除缓存
* @param key
* @param type 缓存类型 localStorage永久缓存 sessionStorage浏览器生命周期结束前
*/
GCache.removeCache = function (key, type) {
if (type === void 0) { type = 'localStorage'; }
if (!window[type]) {
GConsole_1.GConsole.log(GFun_1.GFun.replace('webview不支持{0}', [type]));
return;
}
window[type].removeItem(key + this.gKey);
};
return GCache;
}());
exports.GCache = GCache;
__reflect(GCache.prototype, "\"e:/zqty/egret/libs/tc/util/GCache\".GCache");
//# sourceMappingURL=GCache.js.map
\ No newline at end of file
{"version":3,"file":"GCache.js","sourceRoot":"","sources":["../../../../libs/tc/util/GCache.ts"],"names":[],"mappings":";;;;;AAAA,+BAA8B;AAC9B,uCAAsC;AAEtC;IAAA;IAwDA,CAAC;IArDG;;;OAGG;IACW,WAAI,GAAlB,UAAmB,IAAc;QAC7B,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,IAAM,GAAG,GAAW,IAAI,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACnB,IAAI,CAAC,IAAI,IAAI,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QAC/B,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACW,iBAAU,GAAxB,UAAyB,GAAW,EAAE,KAAU,EAAE,IAAqB;QAArB,qBAAA,EAAA,qBAAqB;QACnE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAChB,mBAAQ,CAAC,GAAG,CAAC,WAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACpD,MAAM,CAAC;QACX,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACjD,CAAC;IAED;;;;;OAKG;IACW,gBAAS,GAAvB,UAAwB,GAAW,EAAE,IAAqB;QAArB,qBAAA,EAAA,qBAAqB;QACtD,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAChB,mBAAQ,CAAC,GAAG,CAAC,WAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACpD,MAAM,CAAC;QACX,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACW,kBAAW,GAAzB,UAA0B,GAAW,EAAE,IAAqB;QAArB,qBAAA,EAAA,qBAAqB;QACxD,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAChB,mBAAQ,CAAC,GAAG,CAAC,WAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACpD,MAAM,CAAC;QACX,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IACL,aAAC;AAAD,CAAC,AAxDD,IAwDC;AAxDY,wBAAM;AAAN,UAAA,MAAM,2DAwDlB,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GConsole = (function () {
function GConsole() {
}
/**
* 日志打印
* @param args
*/
GConsole.log = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
if (!this.switch) {
return;
}
var i = 0;
var len = args.length;
for (i; i < len; i++) {
console.log(args[i]);
}
};
GConsole.switch = window['debug'] || true;
return GConsole;
}());
exports.GConsole = GConsole;
__reflect(GConsole.prototype, "\"e:/zqty/egret/libs/tc/util/GConsole\".GConsole");
//# sourceMappingURL=GConsole.js.map
\ No newline at end of file
{"version":3,"file":"GConsole.js","sourceRoot":"","sources":["../../../../libs/tc/util/GConsole.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAgBA,CAAC;IAdG;;;OAGG;IACW,YAAG,GAAjB;QAAkB,cAAO;aAAP,UAAO,EAAP,qBAAO,EAAP,IAAO;YAAP,yBAAO;;QACrB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YACf,MAAM,CAAC;QACX,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,IAAM,GAAG,GAAW,IAAI,CAAC,MAAM,CAAC;QAChC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACnB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QACzB,CAAC;IACL,CAAC;IAdc,eAAM,GAAY,MAAM,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC;IAe7D,eAAC;CAAA,AAhBD,IAgBC;AAhBY,4BAAQ;AAAR,UAAA,QAAQ,+DAgBpB,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GDispatcher = (function () {
function GDispatcher() {
}
/**
*
* @param name 事件名
* @param callback 回调
* @param thisObj 作用域
*/
GDispatcher.addEvent = function (name, callback, thisObj) {
if (!this.callbackPool[name]) {
this.callbackPool[name] = [];
this.thisObjPool[name] = [];
}
var index = this.callbackPool[name].indexOf(callback);
if (index != -1) {
this.callbackPool[name][index] = callback;
this.thisObjPool[name][index] = thisObj;
}
else {
this.callbackPool[name].push(callback);
this.thisObjPool[name].push(thisObj);
}
};
/**
*
* @param name 事件名
* @param callback 回调
* @param thisObj 作用域
*/
GDispatcher.removeEvent = function (name, callback, thisObj) {
if (this.callbackPool[name]) {
var index = this.callbackPool[name].indexOf(callback);
if (index != -1) {
this.callbackPool[name].splice(index, 1);
this.thisObjPool[name].splice(index, 1);
}
}
};
/**
* 派发事件
* @param name 事件名
* @param args 任意参数
*/
GDispatcher.dispatchEvent = function (name) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
var callbacks = this.callbackPool[name];
var thisObjs = this.thisObjPool[name];
if (callbacks) {
var i = 0;
var len = callbacks.length;
for (i; i < len; i++) {
callbacks[i].apply(thisObjs[i], args);
}
}
};
/**
* 事件回调池
*/
GDispatcher.callbackPool = {};
/**
* 事件作用域池
*/
GDispatcher.thisObjPool = {};
return GDispatcher;
}());
exports.GDispatcher = GDispatcher;
__reflect(GDispatcher.prototype, "\"e:/zqty/egret/libs/tc/util/GDispatcher\".GDispatcher");
//# sourceMappingURL=GDispatcher.js.map
\ No newline at end of file
{"version":3,"file":"GDispatcher.js","sourceRoot":"","sources":["../../../../libs/tc/util/GDispatcher.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAiEA,CAAC;IAtDG;;;;;OAKG;IACW,oBAAQ,GAAtB,UAAuB,IAAY,EAAE,QAAQ,EAAE,OAAY;QACvD,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAC3B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YAC7B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAChC,CAAC;QAED,IAAM,KAAK,GAAW,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAChE,EAAE,CAAC,CA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,CAAC,CAAC,CAAC;YACZ,IAAI,CAAC,GAAG,CAAC,CAAC;YACV,IAAM,GAAG,GAAW,SAAS,CAAC,MAAM,CAAC;YACrC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;gBACnB,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;YAC1C,CAAC;QACL,CAAC;IACL,CAAC;IA/DD;;OAEG;IACY,wBAAY,GAAQ,EAAE,CAAC;IAEtC;;OAEG;IACY,uBAAW,GAAQ,EAAE,CAAC;IAwDzC,kBAAC;CAAA,AAjED,IAiEC;AAjEY,kCAAW;AAAX,UAAA,WAAW,qEAiEvB,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GFun = (function () {
function GFun() {
}
/**
* 加载 html Image
* @param url
* @param callback
*/
GFun.loadImage = function (url, callback) {
//取出跟url匹配的Image
var bitmapData = new Image();
bitmapData.onload = function (e) {
if (callback) {
callback(bitmapData);
}
};
bitmapData.src = url;
};
/**
* 替换字符串中元素
* @param str
* @param replaceList
*/
GFun.replace = function (str, replaceList) {
var len = replaceList.length;
for (var i = 0; i < len; i++) {
str = str.replace("{" + i + "}", replaceList[i].toString());
}
return str;
};
/**
* 是否在app内运行
* @param strs 匹配字符串
*/
GFun.checkInApp = function (strs) {
var ua = navigator.userAgent.toLocaleLowerCase();
var i;
var len = strs.length;
for (i = 0; i < len; i++) {
if (ua.indexOf(strs[i]) != -1) {
return true;
}
}
return false;
};
Object.defineProperty(GFun, "isIOS", {
/**
* 判断操作系统
* @returns {Array|{index: number, input: string}}
*/
get: function () {
return navigator.userAgent.match(/iphone|ipod|ipad/gi) != null;
},
enumerable: true,
configurable: true
});
/**
* 获取url参数
*/
GFun.getQueryString = function (name) {
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
var r = window.location.search.substr(1).match(reg);
if (r != null) {
return unescape(r[2]);
}
return null;
};
return GFun;
}());
exports.GFun = GFun;
__reflect(GFun.prototype, "\"e:/zqty/egret/libs/tc/util/GFun\".GFun");
exports.check_webp_feature = function () {
var _support_webp_ = localStorage.getItem('_support_webp_');
if (_support_webp_ !== null) {
return _support_webp_ === '1';
}
var img = new Image();
img.onload = function () {
var result = (img.width > 0) && (img.height > 0);
localStorage.setItem('_support_webp_', result ? '1' : '0');
};
img.onerror = function () {
localStorage.setItem('_support_webp_', '0');
};
img.src = "data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA";
return false;
};
// export const getImgURL = (url: string): any => {
// const isSupport = check_webp_feature();
// if (isSupport)
// return url + '?x-oss-process=image/format,webp';
// return url;
// }
//# sourceMappingURL=GFun.js.map
\ No newline at end of file
{"version":3,"file":"GFun.js","sourceRoot":"","sources":["../../../../libs/tc/util/GFun.ts"],"names":[],"mappings":";;;;;AAIA;IAAA;IAiEA,CAAC;IAhEG;;;;OAIG;IACW,cAAS,GAAvB,UAAwB,GAAW,EAAE,QAAkB;QACnD,gBAAgB;QAChB,IAAM,UAAU,GAAQ,IAAI,KAAK,EAAE,CAAC;QACpC,UAAU,CAAC,MAAM,GAAG,UAAC,CAAC;YAClB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;gBACX,QAAQ,CAAC,UAAU,CAAC,CAAC;YACzB,CAAC;QACL,CAAC,CAAC;QACF,UAAU,CAAC,GAAG,GAAG,GAAG,CAAC;IACzB,CAAC;IAED;;;;OAIG;IACW,YAAO,GAArB,UAAsB,GAAW,EAAE,WAAmC;QAClE,IAAM,GAAG,GAAG,WAAW,CAAC,MAAM,CAAC;QAC/B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC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AC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1B,CAAC;QACD,MAAM,CAAC,IAAI,CAAC;IAChB,CAAC;IACL,WAAC;AAAD,CAAC,AAjED,IAiEC;AAjEY,oBAAI;AAAJ,UAAA,IAAI,uDAiEhB,CAAA;AAEY,QAAA,kBAAkB,GAAG;IAC9B,IAAM,cAAc,GAAG,YAAY,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC9D,EAAE,CAAC,CAAC,cAAc,KAAK,IAAI,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,cAAc,KAAK,GAAG,CAAC;IAClC,CAAC;IACD,IAAM,GAAG,GAAG,IAAI,KAAK,EAAE,CAAC;IACxB,GAAG,CAAC,MAAM,GAAG;QACT,IAAM,MAAM,GAAG,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACnD,YAAY,CAAC,OAAO,CAAC,gBAAgB,EAAE,MAAM,GAAG,GAAG,GAAG,GAAG,CAAC,CAAA;IAC9D,CAAC,CAAC;IACF,GAAG,CAAC,OAAO,GAAG;QACV,YAAY,CAAC,OAAO,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAA;IAC/C,CAAC,CAAC;IACF,GAAG,CAAC,GAAG,GAAG,iFAAiF,CAAC;IAC5F,MAAM,CAAC,KAAK,CAAC;AACjB,CAAC,CAAA;AAED,mDAAmD;AACnD,8CAA8C;AAC9C,qBAAqB;AACrB,2DAA2D;AAC3D,kBAAkB;AAClB,IAAI"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GLang = (function () {
function GLang() {
}
GLang.lang_001 = "pre资源加载完成";
GLang.lang_002 = "nomarl资源加载完成";
GLang.lang_003 = "delay资源加载完成";
return GLang;
}());
exports.GLang = GLang;
__reflect(GLang.prototype, "\"e:/zqty/egret/libs/tc/util/GLang\".GLang");
//# sourceMappingURL=GLang.js.map
\ No newline at end of file
{"version":3,"file":"GLang.js","sourceRoot":"","sources":["../../../../libs/tc/util/GLang.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAIA,CAAC;IAHiB,cAAQ,GAAG,WAAW,CAAC;IACvB,cAAQ,GAAG,cAAc,CAAC;IAC1B,cAAQ,GAAG,aAAa,CAAC;IAC3C,YAAC;CAAA,AAJD,IAIC;AAJY,sBAAK;AAAL,UAAA,KAAK,yDAIjB,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GMath = (function () {
function GMath() {
}
/**
* 向下取整
* @param n
* @returns {number}
*/
GMath.int = function (n) {
return n >> 0;
};
/**
* 给数组随机排序
* @param arr
*/
GMath.randomArr = function (arr) {
var len = arr.length;
for (var i = 0; i < len; i++) {
var n = this.random(0, arr.length, true);
var temp = arr[n];
arr[n] = arr[i];
arr[i] = temp;
}
return arr;
};
/**
* 范围随机数
* @param n1 范围起始
* @param n2 范围结束
* @param int 结果是否返回整数
* @return {*}
*/
GMath.random = function (n1, n2, int) {
var n;
var min;
var max;
if ((typeof n1) != 'undefined' && (typeof n2) != 'undefined') {
min = Math.min(n1, n2);
max = Math.max(n1, n2);
n = Math.random() * (max - min) + min;
}
else {
n = Math.random();
}
if (int) {
n = this.int(n);
}
return n;
};
return GMath;
}());
exports.GMath = GMath;
__reflect(GMath.prototype, "\"e:/zqty/egret/libs/tc/util/GMath\".GMath");
//# sourceMappingURL=GMath.js.map
\ No newline at end of file
{"version":3,"file":"GMath.js","sourceRoot":"","sources":["../../../../libs/tc/util/GMath.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAgDA,CAAC;IA/CG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AC,CAAC,GAAG,CAAC,CAAC,CAAC;YACN,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACpB,CAAC;QACD,MAAM,CAAC,CAAC,CAAC;IACb,CAAC;IACL,YAAC;AAAD,CAAC,AAhDD,IAgDC;AAhDY,sBAAK;AAAL,UAAA,KAAK,yDAgDjB,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 对象池
*/
var GPool = (function () {
function GPool() {
}
/**
* 根据类型设置缓存最大个数
* @param className
* @param count
*/
GPool.setMaxCountByType = function (className, count) {
this.maxCount[className] = count;
};
/**
* 取出
* @param className 资源名
* @param 类名
*/
GPool.takeOut = function (className, classObj, isCreate) {
if (!className || className == '') {
return;
}
var obj;
if (this.pool[className] && this.pool[className].length) {
obj = this.pool[className].shift();
}
else if (isCreate) {
if (!classObj) {
classObj = eval(className);
}
obj = new classObj();
}
return obj;
};
/**
* 回收
* @param className 资源Class
* @param obj 资源
*/
GPool.recover = function (className, obj) {
if (!obj || !className) {
return;
}
if (!this.pool[className]) {
this.pool[className] = [];
}
if (!this.maxCount[className]) {
this.maxCount[className] = 100;
}
if (this.pool[className].length > this.maxCount[className]) {
return;
}
this.pool[className].push(obj);
if (obj['dispose']) {
obj.dispose();
}
};
GPool.pool = {};
GPool.maxCount = {};
return GPool;
}());
exports.GPool = GPool;
__reflect(GPool.prototype, "\"e:/zqty/egret/libs/tc/util/GPool\".GPool");
//# sourceMappingURL=GPool.js.map
\ No newline at end of file
{"version":3,"file":"GPool.js","sourceRoot":"","sources":["../../../../libs/tc/util/GPool.ts"],"names":[],"mappings":";;;;;AAAA;;GAEG;AACH;IAAA;IA4DA,CAAC;IAxDG;;;;OAIG;IACW,uBAAiB,GAA/B,UAAgC,SAAc,EAAE,KAAK;QACjD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QACnC,CAAC;QAED,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACzD,MAAM,CAAC;QACX,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC/B,EAAE,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACjB,GAAG,CAAC,OAAO,EAAE,CAAC;QAClB,CAAC;IACL,CAAC;IA1Dc,UAAI,GAAQ,EAAE,CAAC;IACf,cAAQ,GAAG,EAAE,CAAC;IA0DjC,YAAC;CAAA,AA5DD,IA4DC;AA5DY,sBAAK;AAAL,UAAA,KAAK,yDA4DjB,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var TimeFormat_1 = require("../enum/TimeFormat");
var GTime = (function () {
function GTime() {
}
/**
* 获取当前时间戳
* @returns {number}
*/
GTime.getTimestamp = function () {
return new Date().getTime();
};
/**
* 传入秒数返回带格式的时间
* @param time 单位秒
* @param type 枚举类型CountDownType
* @param dibit 是否双位
*/
GTime.formatTime = function (time, type, dibit, suffixs) {
if (type === void 0) { type = TimeFormat_1.TimeFormat.HMS; }
if (dibit === void 0) { dibit = false; }
if (suffixs === void 0) { suffixs = ['d', 'h', 'm', 's']; }
var countdown = this.getCountDown(time, type, dibit);
countdown = countdown.map(function (val, index) { return "" + (val < 10 ? '0' + val : val) + suffixs[index]; });
return countdown.join('');
};
/**
* 倒计时
* @param time 单位秒
* @param type 枚举类型CountDownType
* @param dibit 是否双位
*/
GTime.getCountDown = function (time, type, dibit) {
if (type === void 0) { type = TimeFormat_1.TimeFormat.HMS; }
if (dibit === void 0) { dibit = false; }
var result = [];
if (type.indexOf('s') !== -1) {
result.push(time % 60);
}
if (type.indexOf('m') !== -1) {
result.unshift(Math.floor((time % 3600) / 60));
}
if (type.indexOf('h') >= 0) {
if (type == TimeFormat_1.TimeFormat.HMS) {
result.unshift(Math.floor(time / 3600));
}
else {
result.unshift(Math.floor((time % 86400) / 3600));
}
}
if (type.indexOf('d') >= 0) {
result.unshift(Math.floor(time / 86400));
}
if (dibit)
result = result.map(function (ele) {
return ele < 10 ? "0" + ele : ele;
});
return result;
};
return GTime;
}());
exports.GTime = GTime;
__reflect(GTime.prototype, "\"e:/zqty/egret/libs/tc/util/GTime\".GTime");
//# sourceMappingURL=GTime.js.map
\ No newline at end of file
{"version":3,"file":"GTime.js","sourceRoot":"","sources":["../../../../libs/tc/util/GTime.ts"],"names":[],"mappings":";;;;;AAAA,iDAAgD;AAChD;IAAA;IAwDA,CAAC;IAvDG;;;OAGG;IACW,kBAAY,GAA1B;QACI,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IAChC,CAAC;IAED;;;;;OAKG;IACW,gBAAU,GAAxB,UAAyB,IAAY,EAAE,IAA6B,EAAE,KAAa,EAAE,OAA8B;QAA5E,qBAAA,EAAA,OAAe,uBAAU,CAAC,GAAG;QAAE,sBAAA,EAAA,aAAa;QAAE,wBAAA,EAAA,WAAW,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;QAC/G,IAAI,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QACrD,SAAS,GAAG,SAAS,CAAC,GAAG,CAAC,UAAC,GAAG,EAAE,KAAK,IAAK,OAAA,MAAG,GAAG,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAG,OAAO,CAAC,KAAK,CAAG,EAAhD,CAAgD,CAAC,CAAC;QAC5F,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,C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C,CAAC,KAAK,CAAC;YACN,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,UAAC,GAAG;gBACpB,MAAM,CAAC,GAAG,GAAG,EAAE,GAAG,MAAI,GAAK,GAAG,GAAG,CAAC;YACtC,CAAC,CAAC,CAAA;QACN,MAAM,CAAC,MAAM,CAAC;IAClB,CAAC;IACL,YAAC;AAAD,CAAC,AAxDD,IAwDC;AAxDY,sBAAK;AAAL,UAAA,KAAK,yDAwDjB,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isIPhoneX() {
var u = navigator.userAgent;
var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
return isIOS && screen.height == 812 && screen.width == 375;
}
exports.default = isIPhoneX;
//# sourceMappingURL=isIPhoneX.js.map
\ No newline at end of file
{"version":3,"file":"isIPhoneX.js","sourceRoot":"","sources":["../../../../libs/tc/utils/isIPhoneX.ts"],"names":[],"mappings":";;AAAA;IACI,IAAI,CAAC,GAAG,SAAS,CAAC,SAAS,CAAC;IAC5B,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC,CAAC,OAAO;IAC/D,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,MAAM,CAAC,KAAK,IAAI,GAAG,CAAA;AAC/D,CAAC;AAJD,4BAIC"}
\ No newline at end of file
This diff is collapsed.
{"version":3,"file":"MainBase.js","sourceRoot":"","sources":["../../../libs/tl/MainBase.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,2DAA0D;AAC1D,8DAA6D;AAC7D,2DAA2D;AAC3D,uDAAkD;AAClD,uDAAkD;AAClD,qDAAgD;AAChD,yCAA6C;AAC7C,iDAA4C;AAC5C,yDAAwD;AAExD,uDAAkD;AAClD,uDAAkD;AAClD,wCAAqD;AACrD,+DAA0D;AAC1D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B,KAAwB;QAClD,IAAI,CAAC,KAAK,CAAI,KAAK,CAAC,SAAS,+CAAS,CAAC,CAAC;QACxC,WAAW;QACX,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;IAED;;OAEG;IACO,0CAAuB,GAAjC,UAAkC,KAAwB;QACtD,IAAI,CAAC,KAAK,CAAC,eAAe,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACpD,CAAC;IAKO,gCAAa,GAArB;QACI,IAAI,CAAC,SAAS,GAAG,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;QACvC,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QAChC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,GAAG,CAAC;QAC3B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAClC,CAAC;IAES,wBAAK,GAAf,UAAgB,GAAQ;QACpB,sCAAsC;QACtC,mCAAmC;QACnC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACnB,CAAC;IAED;;;OAGG;IACO,kCAAe,GAAzB;QACI,qEAAqE;QACrE,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;IAEzB,CAAC;IACL,eAAC;AAAD,CAAC,AA3QD,CAAsC,GAAG,CAAC,OAAO,GA2QhD;;AA3QoB,UAAA,QAAQ,0DA2Q5B,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var AssetAdapter = (function () {
function AssetAdapter() {
}
/**
* @language zh_CN
* 解析素材
* @param source 待解析的新素材标识符
* @param compFunc 解析完成回调函数,示例:callBack(content:any,source:string):void;
* @param thisObject callBack的 this 引用
*/
AssetAdapter.prototype.getAsset = function (source, compFunc, thisObject) {
function onGetRes(data) {
compFunc.call(thisObject, data, source);
}
if (RES.hasRes(source)) {
var data = RES.getRes(source);
if (data) {
onGetRes(data);
}
else {
RES.getResAsync(source, onGetRes, this);
}
}
else {
RES.getResByUrl(source, onGetRes, this, RES.ResourceItem.TYPE_IMAGE);
}
};
return AssetAdapter;
}());
exports.default = AssetAdapter;
__reflect(AssetAdapter.prototype, "\"e:/zqty/egret/libs/tl/adapter/AssetAdapter\".AssetAdapter", ["eui.IAssetAdapter"]);
//# sourceMappingURL=AssetAdapter.js.map
\ No newline at end of file
{"version":3,"file":"AssetAdapter.js","sourceRoot":"","sources":["../../../../libs/tl/adapter/AssetAdapter.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAyBA,CAAC;IAxBG;;;;;;OAMG;IACI,+BAAQ,GAAf,UAAgB,MAAc,EAAE,QAAiB,EAAE,UAAe;QAC9D,kBAAkB,IAAS;YACvB,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QAC5C,CAAC;QACD,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YACrB,IAAI,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YAC9B,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACP,QAAQ,CAAC,IAAI,CAAC,CAAC;YACnB,CAAC;YACD,IAAI,CAAC,CAAC;gBACF,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC5C,CAAC;QACL,CAAC;QACD,IAAI,CAAC,CAAC;YACF,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QACzE,CAAC;IACL,CAAC;IACL,mBAAC;AAAD,CAAC,AAzBD,IAyBC;;AAzBoB,UAAA,YAAY,iGAyBhC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var ThemeAdapter = (function () {
function ThemeAdapter() {
}
/**
* 解析主题
* @param url 待解析的主题url
* @param onSuccess 解析完成回调函数,示例:compFunc(e:egret.Event):void;
* @param onError 解析失败回调函数,示例:errorFunc():void;
* @param thisObject 回调的this引用
*/
ThemeAdapter.prototype.getTheme = function (url, onSuccess, onError, thisObject) {
var _this = this;
function onResGet(e) {
onSuccess.call(thisObject, e);
}
function onResError(e) {
if (e.resItem.url == url) {
RES.removeEventListener(RES.ResourceEvent.ITEM_LOAD_ERROR, onResError, null);
onError.call(thisObject);
}
}
if (typeof generateEUI !== 'undefined') {
egret.callLater(function () {
onSuccess.call(thisObject, generateEUI);
}, this);
}
else if (typeof generateEUI2 !== 'undefined') {
RES.getResByUrl("resource/gameEui.json", function (data, url) {
window["JSONParseClass"]["setData"](data);
egret.callLater(function () {
onSuccess.call(thisObject, generateEUI2);
}, _this);
}, this, RES.ResourceItem.TYPE_JSON);
}
else {
RES.addEventListener(RES.ResourceEvent.ITEM_LOAD_ERROR, onResError, null);
RES.getResByUrl(url, onResGet, this, RES.ResourceItem.TYPE_TEXT);
}
};
return ThemeAdapter;
}());
exports.default = ThemeAdapter;
__reflect(ThemeAdapter.prototype, "\"e:/zqty/egret/libs/tl/adapter/ThemeAdapter\".ThemeAdapter", ["eui.IThemeAdapter"]);
//# sourceMappingURL=ThemeAdapter.js.map
\ No newline at end of file
{"version":3,"file":"ThemeAdapter.js","sourceRoot":"","sources":["../../../../libs/tl/adapter/ThemeAdapter.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAuCA,CAAC;IArCG;;;;;;OAMG;IACI,+BAAQ,GAAf,UAAgB,GAAW,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,QAAQ,EAAE,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;QACrE,CAAC;IACL,CAAC;IACL,mBAAC;AAAD,CAAC,AAvCD,IAuCC;;AAvCoB,UAAA,YAAY,iGAuChC,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
// import { IData } from "../../tc/interface/IData";
/**
*Created by cuiliqiang on 2018/3/12
* 数据基类
*/
var Data = (function () {
function Data() {
}
Data.prototype.update = function (data) {
this._success = data.success == undefined ? true : data.success;
if (data.message) {
this._message = data.message;
}
else if (data.desc) {
this._message = data.desc;
}
else if (data.msg) {
this._message = data.msg;
}
this._code = data.code;
};
Object.defineProperty(Data.prototype, "success", {
/**
* 接口状态
* @returns {boolean}
*/
get: function () {
return this._success;
},
enumerable: true,
configurable: true
});
Object.defineProperty(Data.prototype, "message", {
/**
* 接口提示信息
* @returns {string}
*/
get: function () {
return this._message;
},
enumerable: true,
configurable: true
});
Object.defineProperty(Data.prototype, "code", {
/**
* 状态码
* @returns {string}
*/
get: function () {
return this._code;
},
enumerable: true,
configurable: true
});
return Data;
}());
exports.Data = Data;
__reflect(Data.prototype, "\"e:/zqty/egret/libs/tw/data/Data\".Data", ["\"e:/zqty/egret/libs/tc/interface/IData\".IData"]);
//# sourceMappingURL=Data.js.map
\ No newline at end of file
{"version":3,"file":"Data.js","sourceRoot":"","sources":["../../../../libs/tw/data/Data.ts"],"names":[],"mappings":";;;;;AAEA,oDAAoD;AACpD;;;GAGG;AAEH;IAAA;IAwCA,CAAC;IAnCU,qBAAM,GAAb,UAAc,IAAS;QACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,IAAI,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC;QAChE,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YACf,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC;QACjC,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC;QAC9B,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;YAClB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC;QAC7B,CAAC;QACD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC;IAC3B,CAAC;IAMD,sBAAW,yBAAO;QAJlB;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IAMD,sBAAW,yBAAO;QAJlB;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IAMD,sBAAW,sBAAI;QAJf;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IACL,WAAC;AAAD,CAAC,AAxCD,IAwCC;AAxCY,oBAAI;AAAJ,UAAA,IAAI,4GAwChB,CAAA"}
\ No newline at end of file
"use strict";
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();
};
Object.defineProperty(exports, "__esModule", { value: true });
var Data_1 = require("./../Data");
var GetRecordData = (function (_super) {
__extends(GetRecordData, _super);
function GetRecordData() {
return _super !== null && _super.apply(this, arguments) || this;
}
GetRecordData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.invalidPage = data.invalidPage;
this.nextPage = data.nextPage;
this.records = data.records;
};
return GetRecordData;
}(Data_1.Data));
exports.GetRecordData = GetRecordData;
__reflect(GetRecordData.prototype, "\"e:/zqty/egret/libs/tw/data/common/GetRecordData\".GetRecordData");
//# sourceMappingURL=GetRecordData.js.map
\ No newline at end of file
{"version":3,"file":"GetRecordData.js","sourceRoot":"","sources":["../../../../../libs/tw/data/common/GetRecordData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kCAAiC;AAEjC;IAAmC,iCAAI;IAAvC;;IAcA,CAAC;IATU,8BAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAA,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACP,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;IAChC,CAAC;IACL,oBAAC;AAAD,CAAC,AAdD,CAAmC,WAAI,GActC;AAdY,sCAAa;AAAb,UAAA,aAAa,gFAczB,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IExposureData.js.map
\ No newline at end of file
{"version":3,"file":"IExposureData.js","sourceRoot":"","sources":["../../../../../libs/tw/data/common/IExposureData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IShareData.js.map
\ No newline at end of file
{"version":3,"file":"IShareData.js","sourceRoot":"","sources":["../../../../../libs/tw/data/common/IShareData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
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();
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/7
* 添加游戏次数
*/
var Data_1 = require("../../Data");
var AddTimesForActivityData = (function (_super) {
__extends(AddTimesForActivityData, _super);
function AddTimesForActivityData() {
return _super !== null && _super.apply(this, arguments) || this;
}
AddTimesForActivityData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.addedTimes = data.addedTimes;
this.shareCount = data.shareCount;
};
return AddTimesForActivityData;
}(Data_1.Data));
exports.AddTimesForActivityData = AddTimesForActivityData;
__reflect(AddTimesForActivityData.prototype, "\"e:/zqty/egret/libs/tw/data/common/addTimesForActivity/AddTimesForActivityData\".AddTimesForActivityData");
//# sourceMappingURL=AddTimesForActivityData.js.map
\ No newline at end of file
{"version":3,"file":"AddTimesForActivityData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/addTimesForActivity/AddTimesForActivityData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAElC;IAA6C,2CAAI;IAAjD;;IAmBA,CAAC;IARU,wCAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QAClC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;IACtC,CAAC;IACL,8BAAC;AAAD,CAAC,AAnBD,CAA6C,WAAI,GAmBhD;AAnBY,0DAAuB;AAAvB,UAAA,uBAAuB,wHAmBnC,CAAA"}
\ No newline at end of file
"use strict";
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();
};
Object.defineProperty(exports, "__esModule", { value: true });
var Data_1 = require("./../../Data");
/**
*Created by cuiliqiang on 2018/3/7
* 集卡数据
*/
var GetCollectRuleData = (function (_super) {
__extends(GetCollectRuleData, _super);
function GetCollectRuleData() {
return _super !== null && _super.apply(this, arguments) || this;
}
GetCollectRuleData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.prizeLevel = data.prizeLeve;
this.clickFlag = data.clickFlag;
this.exchange = data.exchange;
this.collectRules = data.collectRule;
if (data.collectGoods) {
var len = data.collectGoods.length;
var i = 0;
for (i; i < len; i++) {
this.allCount += data.collectGoods[i].count;
}
}
else {
this.allCount = 0;
}
};
return GetCollectRuleData;
}(Data_1.Data));
exports.GetCollectRuleData = GetCollectRuleData;
__reflect(GetCollectRuleData.prototype, "\"e:/zqty/egret/libs/tw/data/common/getCollectRule/GetCollectRuleData\".GetCollectRuleData");
//# sourceMappingURL=GetCollectRuleData.js.map
\ No newline at end of file
{"version":3,"file":"GetCollectRuleData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/getCollectRule/GetCollectRuleData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoC;AAGpC;;;GAGG;AACH;IAAwC,sCAAI;IAA5C;;IA8CA,CAAC;IApBU,mCAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC;QACjC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC9B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC;QAErC,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACpB,IAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC;YACrC,IAAI,CAAC,GAAG,CAAC,CAAC;YACV,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;gBACnB,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;YAChD,CAAC;QACL,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QACtB,CAAC;IACL,CAAC;IACL,yBAAC;AAAD,CAAC,AA9CD,CAAwC,WAAI,GA8C3C;AA9CY,gDAAkB;AAAlB,UAAA,kBAAkB,yGA8C9B,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ICollectGoodData.js.map
\ No newline at end of file
{"version":3,"file":"ICollectGoodData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/getCollectRule/ICollectGoodData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ICollectRuleData.js.map
\ No newline at end of file
{"version":3,"file":"ICollectRuleData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/getCollectRule/ICollectRuleData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
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();
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/12
* 用户剩余积分数据
*/
var Data_1 = require("../../Data");
var GetCreditsData = (function (_super) {
__extends(GetCreditsData, _super);
function GetCreditsData() {
return _super !== null && _super.apply(this, arguments) || this;
}
GetCreditsData.prototype.update = function (result) {
if (!result) {
return;
}
_super.prototype.update.call(this, result);
this.unitName = result.data.unitName;
this.credits = result.data.credits;
this.consumerCredits = result.data.consumerCredits;
};
return GetCreditsData;
}(Data_1.Data));
exports.GetCreditsData = GetCreditsData;
__reflect(GetCreditsData.prototype, "\"e:/zqty/egret/libs/tw/data/common/getCredits/GetCreditsData\".GetCreditsData");
//# sourceMappingURL=GetCreditsData.js.map
\ No newline at end of file
{"version":3,"file":"GetCreditsData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/getCredits/GetCreditsData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAElC;IAAoC,kCAAI;IAAxC;;IAyBA,CAAC;IATU,+BAAM,GAAb,UAAc,MAAW;QACrB,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACV,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,MAAM,CAAC,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QACnC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC;IACvD,CAAC;IACL,qBAAC;AAAD,CAAC,AAzBD,CAAoC,WAAI,GAyBvC;AAzBY,wCAAc;AAAd,UAAA,cAAc,6FAyB1B,CAAA"}
\ No newline at end of file
"use strict";
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();
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/12
* 获取用户角色信息
*/
var Data_1 = require("../../Data");
var GetRoleData = (function (_super) {
__extends(GetRoleData, _super);
function GetRoleData() {
return _super !== null && _super.apply(this, arguments) || this;
}
GetRoleData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.role = data.data.role;
};
return GetRoleData;
}(Data_1.Data));
exports.GetRoleData = GetRoleData;
__reflect(GetRoleData.prototype, "\"e:/zqty/egret/libs/tw/data/common/getRole/GetRoleData\".GetRoleData");
//# sourceMappingURL=GetRoleData.js.map
\ No newline at end of file
{"version":3,"file":"GetRoleData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/getRole/GetRoleData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAElC;IAAiC,+BAAI;IAArC;;IAaA,CAAC;IAPU,4BAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;IAC/B,CAAC;IACL,kBAAC;AAAD,CAAC,AAbD,CAAiC,WAAI,GAapC;AAbY,kCAAW;AAAX,UAAA,WAAW,oFAavB,CAAA"}
\ No newline at end of file
"use strict";
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var LotteryData = (function () {
function LotteryData() {
}
LotteryData.prototype.update = function (data) {
if (!data) {
return;
}
this.androidDownloadUrl = data.androidDownloadUrl;
this.iosDownloadUrl = data.iosDownloadUrl;
this.img = data.imgurl;
this.link = data.link;
this.name = data.name ? data.name : data.title;
this.openUrl = data.openUrl;
this.showUse = data.showUse;
this.tip = data.tip;
this.title = data.title;
this.useBtnText = data.useBtnText;
this.validate = data.validate;
this.type = data.type;
this.confirm = data.confirm;
this.id = data.id;
if (data.stinfodpmclose) {
this.closeExposure = JSON.parse(data.stinfodpmclose);
}
else {
this.closeExposure = null;
}
if (data.stinfodpmgouse) {
this.useExposure = JSON.parse(data.stinfodpmgouse);
}
else {
this.useExposure = null;
}
if (data.stinfodpmimg) {
this.imgExposure = JSON.parse(data.stinfodpmimg);
}
else {
this.imgExposure = null;
}
if (data.itemId) {
this.itemId = data.itemId;
}
};
return LotteryData;
}());
exports.LotteryData = LotteryData;
__reflect(LotteryData.prototype, "\"e:/zqty/egret/libs/tw/data/common/lottery/LotteryData\".LotteryData", ["\"e:/zqty/egret/libs/tc/interface/IData\".IData"]);
//# sourceMappingURL=LotteryData.js.map
\ No newline at end of file
{"version":3,"file":"LotteryData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/lottery/LotteryData.ts"],"names":[],"mappings":";;;;;AASA;IAAA;IAmIA,CAAC;IAxCU,4BAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC;QAClD,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;QAC1C,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACtB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAA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;QACD,EAAE,CAAA,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA,CAAC;YACZ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC9B,CAAC;IACL,CAAC;IACL,kBAAC;AAAD,CAAC,AAnID,IAmIC;AAnIY,kCAAW;AAAX,UAAA,WAAW,yIAmIvB,CAAA"}
\ No newline at end of file
"use strict";
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();
};
Object.defineProperty(exports, "__esModule", { value: true });
var Data_1 = require("./../../Data");
var OpenCollectGoodsPrizeData = (function (_super) {
__extends(OpenCollectGoodsPrizeData, _super);
function OpenCollectGoodsPrizeData() {
return _super !== null && _super.apply(this, arguments) || this;
}
OpenCollectGoodsPrizeData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.orderId = data.orderId;
};
return OpenCollectGoodsPrizeData;
}(Data_1.Data));
exports.OpenCollectGoodsPrizeData = OpenCollectGoodsPrizeData;
__reflect(OpenCollectGoodsPrizeData.prototype, "\"e:/zqty/egret/libs/tw/data/common/openCollectGoodsPrize/openCollectGoodsPrizeData\".OpenCollectGoodsPrizeData");
//# sourceMappingURL=openCollectGoodsPrizeData.js.map
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File mode changed from 100644 to 100755
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment