feat(SystemStatistics): add system jumps and kills statistics with toggle functionality
This commit is contained in:
@@ -55,6 +55,38 @@ export namespace main {
|
||||
return a;
|
||||
}
|
||||
}
|
||||
export class SystemJumps {
|
||||
system_id: number;
|
||||
ship_jumps: number;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new SystemJumps(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.system_id = source["system_id"];
|
||||
this.ship_jumps = source["ship_jumps"];
|
||||
}
|
||||
}
|
||||
export class SystemKills {
|
||||
system_id: number;
|
||||
ship_kills: number;
|
||||
pod_kills: number;
|
||||
npc_kills: number;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new SystemKills(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.system_id = source["system_id"];
|
||||
this.ship_kills = source["ship_kills"];
|
||||
this.pod_kills = source["pod_kills"];
|
||||
this.npc_kills = source["npc_kills"];
|
||||
}
|
||||
}
|
||||
export class SystemRegion {
|
||||
system: string;
|
||||
region: string;
|
||||
|
||||
Reference in New Issue
Block a user