pvp:随机对手
This commit is contained in:
@@ -34,6 +34,8 @@ export interface DicGoods {
|
||||
readonly image_id: number;
|
||||
// 礼包id
|
||||
readonly gift: number;
|
||||
// 是否可以用于pvp随机
|
||||
readonly randomShow: number;
|
||||
}
|
||||
|
||||
type KeysEnum<T> = { [P in keyof Required<T>]: true };
|
||||
@@ -51,6 +53,7 @@ const DicGoodsKeys: KeysEnum<DicGoods> = {
|
||||
timeLimit: true,
|
||||
image_id: true,
|
||||
gift: true,
|
||||
randomShow: true,
|
||||
}
|
||||
export const dicGoods = new Map<number, DicGoods>();
|
||||
export const figureCondition = new Map<number, { params: number[], id: number, gid: number }[]>(); // type => {params, id, gid}
|
||||
|
||||
Reference in New Issue
Block a user