军团:建筑物表

This commit is contained in:
luying
2021-01-21 14:45:10 +08:00
parent 3a0f31ea0b
commit 1e5bf9415a
14 changed files with 1127 additions and 35 deletions

View File

@@ -6,8 +6,8 @@ export interface DicGuildAuth {
// id
readonly id: number;
// 权限 TODO 策划字段未定
readonly auths: number[];
// 权限
readonly authority: number[];
}
@@ -17,7 +17,7 @@ let arr = JSON.parse(str);
export const dicGuildAuth = new Map<number, number[]>();
arr.forEach(o => {
let auths = parseNumberList(o.auths)
dicGuildAuth.set(o.id, auths);
let authority = parseNumberList(o.authority)
dicGuildAuth.set(o.id, authority);
});
arr = undefined;