You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
2.2 KiB
39 lines
2.2 KiB
// Learn TypeScript:
|
|
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
|
|
// Learn Attribute:
|
|
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
|
|
// Learn life-cycle callbacks:
|
|
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html
|
|
|
|
import User from "../../FrameWork/User/User";
|
|
import BagManager from "./BagManager";
|
|
import InterfaceManager from "./InterfaceManager";
|
|
|
|
let Config = [
|
|
{ configId: 0, icon: 'res/三级面点师', isNeedAd: false, descLab: '三级面点师', miaoshu: '等级:300', moneystr: 8000000000, dengji: 300, goodids: [] },
|
|
{ configId: 1, icon: 'res/会员', isNeedAd: false, descLab: '协会会员', miaoshu: '等级:400', moneystr: 400000000000, dengji: 400, isShenQing: true },
|
|
{ configId: 2, icon: 'res/二级面点师', isNeedAd: false, descLab: '二级面点师', miaoshu: '等级:600', moneystr: 100000000000000, dengji: 600 },
|
|
{ configId: 3, icon: 'res/一级面点师', isNeedAd: false, descLab: '一级面点师', miaoshu: '等级:900', moneystr: 1000000000000000000, dengji: 900 },
|
|
{ configId: 4, icon: 'res/副会长', isNeedAd: false, descLab: '协会副会长', miaoshu: '等级:1000', moneystr: 6000000000000000000, dengji: 1000, isShenQing: true },
|
|
{ configId: 5, icon: 'res/特一级面点师', isNeedAd: false, descLab: '特一级面点师', miaoshu: '等级:1200', moneystr: 4000000000000000000000, dengji: 1200 },
|
|
{ configId: 6, icon: 'res/会长', isNeedAd: false, descLab: '协会会长', miaoshu: '等级:1400', moneystr: 200000000000000000000001, dengji: 1400, isShenQing: true },
|
|
{ configId: 7, icon: 'res/厨神', isNeedAd: false, descLab: '厨神', miaoshu: '等级:1500', moneystr: 2000000000000000000000000000, dengji: 1500, ganxiezhi: 50 },
|
|
]
|
|
|
|
export default class ChuShiXieHuiManager {
|
|
|
|
public static getManagerConfigs() {
|
|
return Config
|
|
}
|
|
|
|
public static getManagerConfigById(id) {
|
|
let config
|
|
for (let i = 0; i < Config.length; i++) {
|
|
if (Config[i].configId == id) {
|
|
config = Config[i]
|
|
break
|
|
}
|
|
}
|
|
return config
|
|
}
|
|
}
|
|
|