Please Select Your Location

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

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 .