udpate
This commit is contained in:
parent
5b5fe9bc6a
commit
fd5b27daa2
@ -4,6 +4,7 @@ var gameConfig = require("gameConfig");
|
||||
var Utils = require("Utils");
|
||||
const NetManage = require("../../manages/NetManage");
|
||||
const { showLoading } = require("../../gif/Loading");
|
||||
const { OperationType } = require("../../Operation/Operation");
|
||||
cc.Class({
|
||||
extends: cc.Component,
|
||||
|
||||
@ -180,7 +181,7 @@ cc.Class({
|
||||
baseskin: gameConfig.all_ItemConfig[v.hero_skin].skinid,
|
||||
hero_skin: v.hero_skin,
|
||||
skill_list: cc.playerData.getbattleskilllist(),
|
||||
hero_uniid:parseInt(this.herodatalist[i].hero_uuid),
|
||||
hero_uniid:this.herodatalist[i].hero_uuid,
|
||||
};
|
||||
|
||||
this.matchdata = data;
|
||||
@ -291,7 +292,10 @@ cc.Class({
|
||||
},
|
||||
onclickgo() {
|
||||
//single
|
||||
|
||||
jcgamelog.addOperation(
|
||||
OperationType.BUTTON,
|
||||
'startgame',
|
||||
);
|
||||
if (!this.canzb) {
|
||||
cc.uiHelper.showTips("Please choose a hero first");
|
||||
return;
|
||||
@ -325,6 +329,10 @@ cc.Class({
|
||||
cc.battleIns.sendbattlemsg("CMMatchCancelStartGame");
|
||||
},
|
||||
onclickready() {
|
||||
jcgamelog.addOperation(
|
||||
OperationType.BUTTON,
|
||||
'startgame',
|
||||
);
|
||||
// team
|
||||
if (!this.canzb) {
|
||||
cc.uiHelper.showTips("Please choose a hero first");
|
||||
|
@ -126,6 +126,12 @@ cc.Class({
|
||||
// LIFE-CYCLE CALLBACKS:
|
||||
|
||||
onLoad() {
|
||||
|
||||
jcgamelog.addOperation(
|
||||
OperationType.LOGIN,
|
||||
'game_start',
|
||||
);
|
||||
|
||||
this.allCountry = ['Japan', 'Singapore', 'Turkey', 'USA'];
|
||||
|
||||
this.cpa_icon = [];
|
||||
|
@ -14,6 +14,7 @@ var urlbuilder = require('urlbuilder');
|
||||
const BaseNet = require('../../BaseNet');
|
||||
const Config = require('../../Config');
|
||||
const { isTesting } = require('../../Config');
|
||||
const { OperationType } = require('../../Operation/Operation');
|
||||
const { default: ServerNotOpenTip } = require('../../tips/ServerNotOpenTip');
|
||||
const { WhitelistTip } = require('../../tips/WhitelistTip');
|
||||
const { uimanger } = require('../../UI/UIManger');
|
||||
@ -160,6 +161,13 @@ module.exports = {
|
||||
console.log('errcode----' + obj.errcode);
|
||||
|
||||
if (obj.errcode == 66) {
|
||||
|
||||
jcgamelog.addOperation(
|
||||
OperationType.LOGIN,
|
||||
'blacklist',
|
||||
window.account
|
||||
);
|
||||
|
||||
console.log('用户不在白名单中');
|
||||
uimanger.showUI(WhitelistTip.prefabPath);
|
||||
if (localStorage.getItem('walletaccount')) {
|
||||
|
@ -30,7 +30,7 @@
|
||||
"group-list": [
|
||||
"default"
|
||||
],
|
||||
"last-module-event-record-time": 1652979205672,
|
||||
"last-module-event-record-time": 1653628500757,
|
||||
"simulator-orientation": false,
|
||||
"simulator-resolution": {
|
||||
"height": 640,
|
||||
|
Loading…
x
Reference in New Issue
Block a user