Please Select Your Location
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malta
المملكة العربية السعودية (Arabic)
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Please Select Your Location
België
Česká republika
Denmark
Iceland
Ireland
Italia
Latvija
Lietuva
Lëtzebuerg
Malta
Nederland
Norge
Polska
Portugal
España
Suisse
Suomi
Sverige

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 .