Interface LoadGame

Written at startup when loading from main menu into the game.

interface LoadGame {
    Commander: string;
    Credits: number;
    FID?: string;
    FuelCapacity?: number;
    FuelLevel?: number;
    GameMode?: GameMode;
    Group?: string;
    Horizons?: boolean;
    Loan: number;
    Odyssey?: boolean;
    Ship?: string;
    ShipID?: number;
    ShipIdent?: string;
    ShipName?: string;
    Ship_Localised?: string;
    StartDead?: boolean;
    StartLanded?: boolean;
    build?: string;
    event: "LoadGame";
    gameversion?: string;
    language?: string;
    timestamp: string;
}

Hierarchy (view full)

Properties

Commander: string

The commander's name.

Credits: number

Current credit balance.

FID?: string

The player ID.

FuelCapacity?: number

Size if main tank.

FuelLevel?: number

Current fuel level.

GameMode?: GameMode

The game mode.

Group?: string

Name of the group (if in a group.

Horizons?: boolean

True when Horizons.

Loan: number

Current loan.

Odyssey?: boolean

True when Odyssey.

Ship?: string

The current ship type.

ShipID?: number

The ID of the current ship.

ShipIdent?: string

User-defines ship ID.

ShipName?: string

User-defined ship name.

Ship_Localised?: string

Localised ship type.

StartDead?: boolean

True if starting dead. See Resurrect.

StartLanded?: boolean

True if landed.

build?: string
event: "LoadGame"

The type of event.

gameversion?: string
language?: string
timestamp: string

The time in GMT, ISO 8601.