后台:拉取物品表

This commit is contained in:
luying
2021-06-08 16:32:57 +08:00
parent 8c35bd1430
commit 326d9548ce
4 changed files with 23 additions and 1 deletions
+4 -1
View File
@@ -62,6 +62,8 @@ export interface DicGoods {
readonly condition: {id: number, type: number, params: number[]}[];
// 时间限制
readonly timeLimit: number;
// 图片
readonly image_id: number;
}
type KeysEnum<T> = { [P in keyof Required<T>]: true };
@@ -91,7 +93,8 @@ const DicGoodsKeys: KeysEnum<DicGoods> = {
nextSpecialId: true,
equipId: true,
condition: true,
timeLimit: true
timeLimit: true,
image_id: true
}
export const dicJewel = new Map<number, DicGoods>();
export const dicGoods = new Map<number, DicGoods>();