修改debug模式开关读取地点
This commit is contained in:
@@ -12,6 +12,7 @@ import { getTimeFunM } from './timeUtil';
|
||||
import { Floor } from '../domain/activityField/gachaField';
|
||||
import { WhiteListModel } from '../db/RegionWhiteList';
|
||||
import { RewardInter } from './interface';
|
||||
import { gameData } from './data';
|
||||
const randomName = require("chinese-random-name");
|
||||
const moment = require('moment');
|
||||
const crypto = require('crypto');
|
||||
@@ -821,3 +822,14 @@ export function addToMap<T>(map: Map<T, number>, id: T, value: number) {
|
||||
// return { topLineup, topLineupCe };
|
||||
// }
|
||||
|
||||
export function isDebugTime() {
|
||||
return gameData.serverConst.DEBUG_TIME === 1;
|
||||
}
|
||||
|
||||
export function isDebugPay() {
|
||||
return gameData.serverConst.DEBUG_PAY === 1;
|
||||
}
|
||||
|
||||
export function isCheckWord() {
|
||||
return gameData.serverConst.CHECK_WORD === 1;
|
||||
}
|
||||
Reference in New Issue
Block a user