This commit is contained in:
yuexin 2021-05-10 19:34:26 +08:00
parent 3e309e8475
commit 96ec66d881
2 changed files with 5 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -8,16 +8,14 @@ export class mission_vo implements Cfg{
public commonlyadd: number;
public hardadd: number;
public hp: number;
public hp: number;
public hpstar: number;
public time: number;
public timestar: number;
public enemy: number;
public enemystar: number;
public beforehand_enemy: number;
public magicweapon: string;
public key1id: number;
public key2id: number;
public key3id: number;
public keyID: string;
public decode(data: any) {
this.id = data.id;
@ -25,16 +23,14 @@ export class mission_vo implements Cfg{
this.commonlyadd = data.commonlyadd;
this.hardadd = data.hardadd;
this.hp = data.hp;
this.hp = data.hp;
this.hpstar = data.hpstar;
this.time = data.time;
this.timestar = data.timestar;
this.enemy = data.enemy;
this.enemystar = data.enemystar;
this.beforehand_enemy = data.beforehand_enemy;
this.magicweapon = data.magicweapon;
this.key1id = data.key1id;
this.key2id = data.key2id;
this.key3id = data.key3id;
this.keyID = data.keyID;
};
public isOK (uniqueID: number, param1: any, param2: any): boolean {