军团活动:诸侯混战初始

This commit is contained in:
luying
2021-03-22 20:52:17 +08:00
parent d733210c3a
commit a56a6cf2f3
12 changed files with 201 additions and 34 deletions
+14 -1
View File
@@ -1,6 +1,7 @@
import { GUILDACTIVITY } from "../../pubUtils/dicParam";
import { SimpleGuildRankParam, SimpleRoleRankParam } from '../rank'
import { prop } from "@typegoose/typegoose";
import { CITY_STATUS } from "../../consts";
export class GateMembersRec {
roleId: string;
@@ -100,4 +101,16 @@ export class Member {
roleId: string; // 玩家id
@prop({required: true})
job: number; // 在军团的职位
}
}
export class CityParam {
cityId: number = 0; // 城池id
guardGuildCode: string = ''; // 占领军团id
guardGuildName: string = ''; // 占领军团名
declareCount: number = 0; // 宣战数
status: number = CITY_STATUS.NOT_OPEN; // 城池对于我军状态
constructor(cityId: number) {
this.cityId = cityId;
}
}