字典:解析export
This commit is contained in:
@@ -13,14 +13,14 @@ export interface DicPvpRefreshConsume {
|
||||
}
|
||||
|
||||
export const dicPvpRefreshConsume = new Map<number, RewardInter[]>();
|
||||
export let maxPvpRefreshCnt = 0;
|
||||
export const maxPvpRefreshCnt = { max: 0 };
|
||||
export function loadPvpRefreshConsume() {
|
||||
|
||||
let arr = readFileAndParse(FILENAME.DIC_PVP_REFRESH_CONSUME);
|
||||
|
||||
arr.forEach(o => {
|
||||
o.consume = parseGoodStr(o.consume);
|
||||
if(o.count > maxPvpRefreshCnt) maxPvpRefreshCnt = o.count;
|
||||
if(o.count > maxPvpRefreshCnt.max) maxPvpRefreshCnt.max = o.count;
|
||||
dicPvpRefreshConsume.set(o.count, o.consume);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user