Top | ![]() |
![]() |
![]() |
![]() |
SrtSteamIssues | srt_steam_get_issues () |
const char * | srt_steam_get_install_path () |
const char * | srt_steam_get_data_path () |
const char * | srt_steam_get_bin32_path () |
const char * | srt_steam_get_steamscript_path () |
const char * | srt_steam_get_steamscript_version () |
char * | bin32-path | Read / Write / Construct Only |
char * | data-path | Read / Write / Construct Only |
char * | install-path | Read / Write / Construct Only |
SrtSteamIssues | issues | Read / Write / Construct Only |
char * | steamscript-path | Read / Write / Construct Only |
char * | steamscript-version | Read / Write / Construct Only |
SrtSteamIssues
srt_steam_get_issues (SrtSteam *self
);
Return the problems found in self
.
const char *
srt_steam_get_data_path (SrtSteam *self
);
Used to return the absolute path to the Steam data directory, which
is usually the same as srt_steam_get_install_path
, but may be different
while testing a new Steam release.
const char *
srt_steam_get_steamscript_path (SrtSteam *self
);
Return the absolute path to the script used to launch Steam, if known.
If the application using this library was not run as a child process
of the Steam client, then this will usually be NULL
.
This will usually be /usr/bin/steam
for the packaged Steam launcher
released by Valve, /app/bin/steam
for the Flatpak app, or either
/usr/bin/steam
or /usr/games/steam
for third-party packaged versions
of the Steam client.
const char *
srt_steam_get_steamscript_version (SrtSteam *self
);
Return the version of the script used to launch Steam, if known.
If the application using this library was not run as a child process
of the Steam client, then this will usually be NULL
.
Typical values look like 1.0.0.66
for the packaged Steam launcher
released by Valve, 1.0.0.66-2/Debian
for recent Debian packages, or
NULL
for older Debian/Ubuntu packages. Future Ubuntu packages might
produce a string like 1.0.0.66-2ubuntu1/Ubuntu
.
A bitfield with flags representing problems with the Steam
installation, or SRT_STEAM_ISSUES_NONE
(which is numerically zero)
if no problems were detected.
In general, more bits set means more problems.
A generic internal error occurred while trying to detect the status of the Steam installation, or, while reading a report, either an unknown issue flag was encountered or the Steam issues field was missing |
||
Unable to find the Steam installation,
either via its canonical symlink |
||
|
||
Unable to find the Steam data,
either via its canonical symlink |
||
|
||
|
||
|
||
The environment
|
||
There isn't a default desktop
application that can handle |
||
The default Steam URI
handler executable is either not what we expected or is different from the
one |
||
The default Steam desktop application ID is not what we expected. |
||
SRT_STEAM_ISSUES_UNEXPECTED_STEAM_COMPAT_CLIENT_INSTALL_PATH |
If the
environment |
|
The Steam installation must be
outside |
||
There are no problems |
“bin32-path”
property “bin32-path” char *
Absolute path to `ubuntu12_32`.
Owner: SrtSteam
Flags: Read / Write / Construct Only
Default value: NULL
“data-path”
property “data-path” char *
Absolute path to the Steam data directory, which is usually the same as install-path, but may be different while testing a new Steam release.
Owner: SrtSteam
Flags: Read / Write / Construct Only
Default value: NULL
“install-path”
property “install-path” char *
Absolute path to the Steam installation.
Owner: SrtSteam
Flags: Read / Write / Construct Only
Default value: NULL
“issues”
property“issues” SrtSteamIssues
Problems with the steam installation.
Owner: SrtSteam
Flags: Read / Write / Construct Only
“steamscript-path”
property “steamscript-path” char *
Absolute path to the bootstrapper script used to launch Steam.
Owner: SrtSteam
Flags: Read / Write / Construct Only
Default value: NULL