DayZ 1.24
Loading...
Searching...
No Matches
ContentDLC.c
Go to the documentation of this file.
1
2// Binded values from engine
8
11{
14
22
28
30 {
32
33 // Start at 1, because 0 is DLC_UNKNOWN
34 for (int i = 1; i < length; ++i)
35 {
37 return false;
38 }
39
40 return true;
41 }
42
50 {
51 m_OnChange.Invoke(dlcId);
52 }
53};
EDLCId
Definition ContentDLC.c:4
@ DLC_UNKNOWN
Definition ContentDLC.c:5
@ DLC_BLISS
Definition ContentDLC.c:6
ContentDLC is for query installed DLC (only as entitlement keys, not content)
Definition ContentDLC.c:11
void OnChange(EDLCId dlcId)
Definition ContentDLC.c:49
bool OwnsAllDLC()
Definition ContentDLC.c:29
ref ScriptInvoker m_OnChange
void(EDLCId dlcId)
Definition ContentDLC.c:13
proto native int GetEntitlements(out TIntArray dlcIdList)
proto native bool IsDLCInstalled(EDLCId dlcId)
static int GetEnumSize(typename e)
Return amount of values in enum.
Definition EnConvert.c:620
static int GetEnumValue(typename e, int idx)
Return the nth value in the enum.
Definition EnConvert.c:631
ScriptInvoker Class provide list of callbacks usage:
Definition tools.c:116
Result for an object found in CGame.IsBoxCollidingGeometryProxy.