pvp:修复赛季相关
This commit is contained in:
@@ -316,6 +316,7 @@ export class KeyName {
|
||||
guildCode?: string;
|
||||
cityId?: number;
|
||||
hid?: number;
|
||||
seasonNum?: number;
|
||||
|
||||
constructor(key: string, param: KeyNameParam) {
|
||||
this.key = key;
|
||||
@@ -323,6 +324,7 @@ export class KeyName {
|
||||
if(param.guildCode) this.guildCode = param.guildCode;
|
||||
if(param.cityId) this.cityId = param.cityId;
|
||||
if(param.hid) this.hid = param.hid;
|
||||
if(param.seasonNum) this.seasonNum = param.seasonNum;
|
||||
}
|
||||
|
||||
public getName() {
|
||||
@@ -331,6 +333,7 @@ export class KeyName {
|
||||
if(this.guildCode) res += `:${this.guildCode}`;
|
||||
if(this.cityId) res += `:${this.cityId}`;
|
||||
if(this.hid) res += `:${this.hid}`;
|
||||
if(this.seasonNum) res += `:${this.seasonNum}`;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user