Skip to content

Commit

Permalink
added attacker in air flag
Browse files Browse the repository at this point in the history
  • Loading branch information
osztenkurden committed May 13, 2024
1 parent 55e0b11 commit b23b3f0
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@ class CSGOGSI {
wallbang: data.penetrated > 0,
attackerblind: data.attackerblind,
thrusmoke: data.thrusmoke,
noscope: data.noscope
noscope: data.noscope,
attackerinair: data.attackerinair
};
this.emit('kill', kill);
return kill;
Expand Down
1 change: 1 addition & 0 deletions lib/cjs/mirv.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface RawKill {
noscope: boolean;
penetrated: number;
noreplay: boolean;
attackerinair: boolean;
};
}

Expand Down
1 change: 1 addition & 0 deletions lib/cjs/parsed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export interface KillEvent {
attackerblind: boolean;
thrusmoke: boolean;
noscope: boolean;
attackerinair: boolean;
}

export interface HurtEvent {
Expand Down
3 changes: 2 additions & 1 deletion lib/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ class CSGOGSI {
wallbang: data.penetrated > 0,
attackerblind: data.attackerblind,
thrusmoke: data.thrusmoke,
noscope: data.noscope
noscope: data.noscope,
attackerinair: data.attackerinair
};
this.emit('kill', kill);
return kill;
Expand Down
1 change: 1 addition & 0 deletions lib/esm/mirv.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface RawKill {
noscope: boolean;
penetrated: number;
noreplay: boolean;
attackerinair: boolean;
};
}

Expand Down
1 change: 1 addition & 0 deletions lib/esm/parsed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export interface KillEvent {
attackerblind: boolean;
thrusmoke: boolean;
noscope: boolean;
attackerinair: boolean;
}

export interface HurtEvent {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "csgogsi",
"version": "3.0.2",
"version": "3.0.3",
"description": "",
"type": "module",
"main": "./lib/cjs/index.js",
Expand Down
3 changes: 2 additions & 1 deletion tsc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,8 @@ class CSGOGSI {
wallbang: data.penetrated > 0,
attackerblind: data.attackerblind,
thrusmoke: data.thrusmoke,
noscope: data.noscope
noscope: data.noscope,
attackerinair: data.attackerinair
};
this.emit('kill', kill);
return kill;
Expand Down
1 change: 1 addition & 0 deletions tsc/mirv.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface RawKill {
noscope: boolean;
penetrated: number;
noreplay: boolean;
attackerinair: boolean;
};
}

Expand Down
1 change: 1 addition & 0 deletions tsc/parsed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export interface KillEvent {
attackerblind: boolean;
thrusmoke: boolean;
noscope: boolean;
attackerinair: boolean;
}

export interface HurtEvent {
Expand Down
1 change: 1 addition & 0 deletions types/mirv.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface RawKill {
noscope: boolean;
penetrated: number;
noreplay: boolean;
attackerinair: boolean;
};
}

Expand Down
1 change: 1 addition & 0 deletions types/parsed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export interface KillEvent {
attackerblind: boolean;
thrusmoke: boolean;
noscope: boolean;
attackerinair: boolean;
}

export interface HurtEvent {
Expand Down

0 comments on commit b23b3f0

Please sign in to comment.