SaveFileData: {
    padNumber?: number;
    player: SerializedPlayer;
    timestamp: number;
    universeCoordinates: UniverseCoordinates;
    version: string;
}

Data structure for the save file to allow restoring current star system and position.

Type declaration

  • OptionalpadNumber?: number

    If the player is landed at a facility, store the pad number to allow graceful respawn at the station

  • player: SerializedPlayer

    The player data.

  • timestamp: number

    The timestamp when the save file was created.

  • universeCoordinates: UniverseCoordinates

    The coordinates of the current star system and the coordinates inside the star system.

  • version: string

    The version of CosmosJourneyer that created this save file.