✨ feat(防破解): 防加速和防跳过
This commit is contained in:
@@ -286,6 +286,7 @@ export const STATUS = {
|
||||
CAN_NOT_DECLARE: { code: 21109, simStr: '该城池不可宣战' },
|
||||
CHALLENGE_TIME_NOT_NEED_RESET: { code: 21110, simStr: '不需要重置' },
|
||||
CITY_NOT_FOUND: { code: 21111, simStr: '未找到该城池' },
|
||||
NOT_CHECK_BATTLE: { code: 21112, simStr: '挑战未开始' },
|
||||
|
||||
// 名将擂台
|
||||
LADDER_NOT_OPEN: { code: 21200, simStr: '请先布置防守阵容' },
|
||||
|
||||
@@ -99,6 +99,9 @@ export class RoleStatus {
|
||||
@prop({ required: true, default: 0 })
|
||||
frdRatio: number = 0;
|
||||
|
||||
@prop({ required: true, default: 0 })
|
||||
startActionTime: number = 0;
|
||||
|
||||
constructor(role: RoleUpdate, sid: string, isCap: boolean, isFrd: boolean, heroes: ComRoleStatusHero[] = [], isRobot = false) {
|
||||
if(role) {
|
||||
this.roleId = role.roleId||'';
|
||||
|
||||
@@ -182,6 +182,8 @@ export class Member {
|
||||
job: number; // 在军团的职位
|
||||
@prop({required: false})
|
||||
code?: string; // 玩家的当前记录的code
|
||||
@prop({required: false})
|
||||
startActionTime?: number; // 玩家的当前记录的code
|
||||
}
|
||||
|
||||
export class JoinMember extends Member{
|
||||
|
||||
Reference in New Issue
Block a user