2022-11-21 23:26:20 +00:00
|
|
|
import { SlotStatus } from "../enums/SlotStatus";
|
|
|
|
import { User } from "./User";
|
|
|
|
|
2022-11-19 01:06:03 +00:00
|
|
|
export class Slot {
|
2022-11-21 23:26:20 +00:00
|
|
|
public status:SlotStatus;
|
2022-11-20 23:37:39 +00:00
|
|
|
public team:number;
|
2022-11-21 23:26:20 +00:00
|
|
|
public player?:User; // playerId
|
2022-11-20 23:37:39 +00:00
|
|
|
public mods:number;
|
|
|
|
|
2022-11-21 23:26:20 +00:00
|
|
|
public constructor(status:SlotStatus, team:number, player?:User, mods:number = 0) {
|
|
|
|
this.status = status;
|
|
|
|
this.team = team;
|
|
|
|
this.player = player;
|
|
|
|
this.mods = mods;
|
2022-11-20 23:37:39 +00:00
|
|
|
}
|
2022-11-19 01:06:03 +00:00
|
|
|
}
|