Метод | Описание | |
---|---|---|
BGetDLCDataByIndex ( int iDLC, AppId_t &pAppID, bool &pbAvailable, string &pchName, int cchNameBufferSize ) : bool |
Returns metadata for DLC by index, of range [0, GetDLCCount()]
|
|
BIsAppInstalled ( AppId_t appID ) : bool |
returns true if that app is installed (not necessarily owned)
|
|
BIsCybercafe ( ) : bool | ||
BIsDlcInstalled ( AppId_t appID ) : bool |
Takes AppID of DLC and checks if the user owns the DLC & if the DLC is installed
|
|
BIsLowViolence ( ) : bool | ||
BIsSubscribed ( ) : bool | ||
BIsSubscribedApp ( AppId_t appID ) : bool |
only use this member if you need to check ownership of another game related to yours, a demo for example
|
|
BIsSubscribedFromFreeWeekend ( ) : bool |
Checks if the user is subscribed to the current app through a free weekend This function will return false for users who have a retail or other type of license Before using, please ask your Valve technical contact how to package and secure your free weekened
|
|
BIsVACBanned ( ) : bool | ||
GetAppBuildId ( ) : int |
return the buildid of this app, may change at any time based on backend updates to the game
|
|
GetAppInstallDir ( AppId_t appID, string &pchFolder, uint cchFolderBufferSize ) : uint |
returns current app install folder for AppID, returns folder name length
|
|
GetAppOwner ( ) : CSteamID |
returns the SteamID of the original owner. If different from current user, it's borrowed
|
|
GetAvailableGameLanguages ( ) : string | ||
GetCurrentBetaName ( string &pchName, int cchNameBufferSize ) : bool |
returns current beta branch name, 'public' is the default branch
|
|
GetCurrentGameLanguage ( ) : string | ||
GetDLCCount ( ) : int |
Returns the number of DLC pieces for the running app
|
|
GetDlcDownloadProgress ( AppId_t nAppID, ulong &punBytesDownloaded, ulong &punBytesTotal ) : bool |
get download progress for optional DLC
|
|
GetEarliestPurchaseUnixTime ( AppId_t nAppID ) : uint |
returns the Unix time of the purchase of the app
|
|
GetFileDetails ( string pszFileName ) : SteamAPICall_t | ||
GetInstalledDepots ( AppId_t appID, DepotId_t pvecDepots, uint cMaxDepots ) : uint |
return installed depots in mount order
|
|
GetLaunchQueryParam ( string pchKey ) : string |
Returns the associated launch param if the game is run via steam://run/<appid>//?param1=value1;param2=value2;param3=value3 etc. Parameter names starting with the character '@' are reserved for internal use and will always return and empty string. Parameter names starting with an underscore '_' are reserved for steam features -- they can be queried by the game, but it is advised that you not param names beginning with an underscore for your own features.
|
|
InstallDLC ( AppId_t nAppID ) : void |
Install/Uninstall control for optional DLC
|
|
MarkContentCorrupt ( bool bMissingFilesOnly ) : bool |
signal Steam that game files seems corrupt or missing
|
|
RequestAllProofOfPurchaseKeys ( ) : void |
Request all proof of purchase keys for the calling appid and asociated DLC. A series of AppProofOfPurchaseKeyResponse_t callbacks will be sent with appropriate appid values, ending with a final callback where the m_nAppId member is k_uAppIdInvalid (zero).
|
|
RequestAppProofOfPurchaseKey ( AppId_t nAppID ) : void |
Request legacy cd-key for yourself or owned DLC. If you are interested in this data then make sure you provide us with a list of valid keys to be distributed to users when they purchase the game, before the game ships. You'll receive an AppProofOfPurchaseKeyResponse_t callback when the key is available (which may be immediately).
|
|
UninstallDLC ( AppId_t nAppID ) : void |
public static BGetDLCDataByIndex ( int iDLC, AppId_t &pAppID, bool &pbAvailable, string &pchName, int cchNameBufferSize ) : bool | ||
iDLC | int | |
pAppID | AppId_t | |
pbAvailable | bool | |
pchName | string | |
cchNameBufferSize | int | |
Результат | bool |
public static BIsAppInstalled ( AppId_t appID ) : bool | ||
appID | AppId_t | |
Результат | bool |
public static BIsDlcInstalled ( AppId_t appID ) : bool | ||
appID | AppId_t | |
Результат | bool |
public static BIsSubscribedApp ( AppId_t appID ) : bool | ||
appID | AppId_t | |
Результат | bool |
public static BIsSubscribedFromFreeWeekend ( ) : bool | ||
Результат | bool |
public static GetAppInstallDir ( AppId_t appID, string &pchFolder, uint cchFolderBufferSize ) : uint | ||
appID | AppId_t | |
pchFolder | string | |
cchFolderBufferSize | uint | |
Результат | uint |
public static GetAppOwner ( ) : CSteamID | ||
Результат | CSteamID |
public static GetAvailableGameLanguages ( ) : string | ||
Результат | string |
public static GetCurrentBetaName ( string &pchName, int cchNameBufferSize ) : bool | ||
pchName | string | |
cchNameBufferSize | int | |
Результат | bool |
public static GetCurrentGameLanguage ( ) : string | ||
Результат | string |
public static GetDlcDownloadProgress ( AppId_t nAppID, ulong &punBytesDownloaded, ulong &punBytesTotal ) : bool | ||
nAppID | AppId_t | |
punBytesDownloaded | ulong | |
punBytesTotal | ulong | |
Результат | bool |
public static GetEarliestPurchaseUnixTime ( AppId_t nAppID ) : uint | ||
nAppID | AppId_t | |
Результат | uint |
public static GetFileDetails ( string pszFileName ) : SteamAPICall_t | ||
pszFileName | string | |
Результат | SteamAPICall_t |
public static GetInstalledDepots ( AppId_t appID, DepotId_t pvecDepots, uint cMaxDepots ) : uint | ||
appID | AppId_t | |
pvecDepots | DepotId_t | |
cMaxDepots | uint | |
Результат | uint |
public static GetLaunchQueryParam ( string pchKey ) : string | ||
pchKey | string | |
Результат | string |
public static InstallDLC ( AppId_t nAppID ) : void | ||
nAppID | AppId_t | |
Результат | void |
public static MarkContentCorrupt ( bool bMissingFilesOnly ) : bool | ||
bMissingFilesOnly | bool | |
Результат | bool |
public static RequestAllProofOfPurchaseKeys ( ) : void | ||
Результат | void |
public static RequestAppProofOfPurchaseKey ( AppId_t nAppID ) : void | ||
nAppID | AppId_t | |
Результат | void |
public static UninstallDLC ( AppId_t nAppID ) : void | ||
nAppID | AppId_t | |
Результат | void |