import { ryw_Event } from "../../FrameWork/Event/EventEnum"; import EventMgr from "../../FrameWork/Event/EventMgr"; import User from "../../FrameWork/User/User"; import InterfaceManager from "../Manager/InterfaceManager"; const { ccclass, property } = cc._decorator; // let AllConfig = [ // {id:0,maxTime:7200,buyPrice1:10000,buyPrice2:10000}, // {id:1,maxTime:7200,buyPrice1:10000,buyPrice2:10000}, // {id:2,maxTime:7200,buyPrice1:10000,buyPrice2:10000}, // {id:3,maxTime:7200,buyPrice1:10000,buyPrice2:10000}, // {id:4,maxTime:7200,buyPrice1:10000,buyPrice2:10000} // ] //0快递,1松花江,2下水道 export enum ZhaoMuGameType { KuaiDi = 0, SongHuaJiang, XiaShuiDao } let beiShu = [2,3,4,5,6] let AllConfig = [ [ { id: 0, addTime: 3600, skinIndex: '1' }, { id: 1, addTime: 3600, skinIndex: '2' }, { id: 2, addTime: 3600, skinIndex: '3' }, { id: 3, addTime: 3600, skinIndex: '4' }, { id: 4, addTime: 3600, skinIndex: '5' }, ], [{ id: 0, addTime: 3600, skinIndex: '4' }, { id: 1, addTime: 3600, skinIndex: '5' }, { id: 2, addTime: 3600, skinIndex: '6' }], [{ id: 0, addTime: 3600, skinIndex: '7' }, { id: 1, addTime: 3600, skinIndex: '8' }, { id: 2, addTime: 3600, skinIndex: '9' }] ] @ccclass export default class MeiNvZhaoMuManager { public static initManager() { // for(var i=0;i= 1) { zhaoMuBeiShu = beiShu[unLockTab.length - 1] } User.setMeiNvZhaoMuData(AllConfig.length, id, unLockTab, zhaoMuTime, zhaoMuBeiShu) EventMgr.emitEvent_custom(ryw_Event.refreshZhaoMuTimes); } public static updateAllZhaoMuTime() { // let localZhaoMuData = this.getMeiNvZhaoMuData() // for(var i=0;i