1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-04 10:24:07 +02:00

no longer store weapon name per kill

This commit is contained in:
Robin Appelman 2021-05-22 20:32:11 +02:00
commit 89687f6a76
8 changed files with 12 additions and 28 deletions

View file

@ -10,15 +10,13 @@ class Kill {
private int $attackerId;
private int $assisterId;
private int $victimId;
private string $weapon;
public function __construct(int $id, int $demoId, int $attackerId, int $assisterId, int $victimId, string $weapon) {
public function __construct(int $id, int $demoId, int $attackerId, int $assisterId, int $victimId) {
$this->id = $id;
$this->demoId = $demoId;
$this->attackerId = $attackerId;
$this->assisterId = $assisterId;
$this->victimId = $victimId;
$this->weapon = $weapon;
}
public function getId(): int {
@ -40,8 +38,4 @@ class Kill {
public function getVictimId(): int {
return $this->victimId;
}
public function getWeapon(): string {
return $this->weapon;
}
}