2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-03 01:03:41 -04:00

Nullability Updates

& Add missing file
This commit is contained in:
2024-05-25 23:46:21 +10:00
parent e33326611a
commit 69593851aa
5 changed files with 41 additions and 14 deletions

View File

@ -0,0 +1,27 @@
import type JournalBase from "./JournalBase";
export interface LoadGame extends JournalBase {
event: "LoadGame";
commander: string;
fid: string;
horizons: boolean;
odyssey: boolean;
ship: string;
ship_Localised: string;
shipID: number;
startLanded: boolean;
startDead: boolean;
gameMode: string;
credits: number;
loan: number;
shipName: string;
shipIdent: string;
fuelLevel: number;
fuelCapacity: number;
language: string;
gameversion: string;
build: string;
}
export function IsLoadGameEvent(message: JournalBase): message is LoadGame {
return message.event === "LoadGame";
}