Unit IOUnit

Uses
Classes, Interfaces, Objects and Records
Types
Variables

Description

IO Unit

Overview

Functions and Procedures

function GetExeDir: string; inline;
function GetDataDir: string; inline;
function GetSavesDir: string; inline;
function GetConfigFilePath: String; inline;
function GetConfigDir: String; inline;
function GetCacheDir: string; inline;
procedure InitPaths;

Constants

StarCitizenProcessName = 'starcitizen.exe';

Description

Functions and Procedures

function GetExeDir: string; inline;
 
Returns

The directory of the executable.

function GetDataDir: string; inline;
 
Returns

The directory of the data files.

function GetSavesDir: string; inline;
 
Returns

The directory of the saves files.

function GetConfigFilePath: String; inline;
 
Returns

The path to the configuration file.

function GetConfigDir: String; inline;
 
Returns

The directory of the configuration file.

function GetCacheDir: string; inline;
 
Returns

The directory of the cache files.

procedure InitPaths;

Initializes the paths.

Constants

StarCitizenProcessName = 'starcitizen.exe';

The name of the StarCitizen process.