🐞 fix(gvg): 联军信息变动同步
This commit is contained in:
@@ -48,4 +48,11 @@ export class GVGTeamMem extends GVGTeam {
|
||||
this.startMoveTime = startMoveTime;
|
||||
this.stopMoveTime = stopMoveTime;
|
||||
}
|
||||
|
||||
public updateInfo(info: { leagueName?: string, roleName?: string, lv?: number }) {
|
||||
if(!info) return
|
||||
if(info.leagueName) this.leagueName = info.leagueName;
|
||||
if(info.roleName) this.roleName = info.roleName;
|
||||
if(info.lv) this.lv = info.lv;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user