Interface LoadGame

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

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

Hierarchy (View Summary)

Properties

build?: string
Commander: string

The commander's name.

Credits: number

Current credit balance.

event: "LoadGame"

The type of event.

FID?: string

The player ID.

FuelCapacity?: number

Size if main tank.

FuelLevel?: number

Current fuel level.

GameMode?: GameMode

The game mode.

gameversion?: string
Group?: string

Name of the group (if in a group.

Horizons?: boolean

True when Horizons.

language?: string
Loan: number

Current loan.

Odyssey?: boolean

True when Odyssey.

Ship?: string

The current ship type.

Ship_Localised?: string

Localised ship type.

ShipID?: number

The ID of the current ship.

ShipIdent?: string

User-defines ship ID.

ShipName?: string

User-defined ship name.

StartDead?: boolean

True if starting dead. See Resurrect.

StartLanded?: boolean

True if landed.

timestamp: string

The time in GMT, ISO 8601.