Function usage
IsDlcReady()
Name | Type | Description |
callback | StatusCallback | Callback function |
Returns:
int
. A value of
0
means the function has completed without error.
Initializes the DLC API. The callback will provide a code when initialization completes. Call this function before calling other DLC API functions.
GetCount()
int GetCount();
Returns:
int
. Returns the total number of DLC releases for a title.
GetIsAvailable()
bool GetIsAvailable(int index, out string appId, out bool isAvailable);
Name | Type | Description |
index | int | Index of DLC to check |
appid | out string | Ouput parameter with the app AppID |
isAvailable | out bool | Output parameter TRUE if the user purchased the DLC. |
Returns:
bool
. Returns
TRUE
if the DLC is correctly indexed. Returns
FALSE
if the DLC index is out of range.
Checks if the current end-user account has already purchased a piece of DLC, searching by
index
and
appid
.