DayZ 1.24
|
ContentDLC is for query installed DLC (only as entitlement keys, not content) More...
Private Member Functions | |
proto native int | GetEntitlements (out TIntArray dlcIdList) |
proto native bool | IsDLCInstalled (EDLCId dlcId) |
bool | OwnsAllDLC () |
void | OnChange (EDLCId dlcId) |
Private Attributes | |
ref ScriptInvoker | m_OnChange = new ScriptInvoker() |
void(EDLCId dlcId) | |
ContentDLC is for query installed DLC (only as entitlement keys, not content)
Definition at line 10 of file ContentDLC.c.
For getting current entitlements on device (console). Could be called after any entitlement change or before accessing locked content.
dlcIdList | through this list is returned all installed DLC with valid license for current user |
dlcId | ID of DLC |
Referenced by OwnsAllDLC().
Called from engine for notifing script after any change in additional content (installed, lost license). There should be check for current state of entitlements. On Xbox should be problem with event lost license! (system bug)
dlcId | ID of DLC that was changed. Could be empty string if console does not report concrete DLC ID. |
Definition at line 49 of file ContentDLC.c.
References m_OnChange.
|
inlineprivate |
Definition at line 29 of file ContentDLC.c.
References EnumTools::GetEnumSize(), EnumTools::GetEnumValue(), and IsDLCInstalled().
|
private |