字典:解析export
This commit is contained in:
@@ -156,7 +156,7 @@ export const dicTrainBase = new Map<number, DicTrainBase>(); // 练兵场
|
||||
export const dicDonateBase = new Map<number, DicDonateBase>(); // 捐献所
|
||||
export const dicWishPoolBase = new Map<number, DicWishPoolBase>(); // 许愿池
|
||||
export const dicStoreBase = new Map<number, DicWishPoolBase>(); // 许愿池
|
||||
export let maxMemberCnt = 0; // 满配最大人数
|
||||
export const maxMemberCnt = { max: 0 }; // 满配最大人数
|
||||
|
||||
export function loadStructure() {
|
||||
|
||||
@@ -169,7 +169,7 @@ export function loadStructure() {
|
||||
let arrCenter = readFileAndParse(FILENAME.DIC_GUILD_STRUCTURE_CENTER);
|
||||
arrCenter.forEach(o => {
|
||||
setStructureConsume(o);
|
||||
if(o.peopleNum > maxMemberCnt) maxMemberCnt = o.peopleNum;
|
||||
if(o.peopleNum > maxMemberCnt.max) maxMemberCnt.max = o.peopleNum;
|
||||
dicCenterBase.set(o.level, _.pick(o, Object.keys(DicCenterKeys)));
|
||||
});
|
||||
arrCenter = undefined;
|
||||
|
||||
Reference in New Issue
Block a user