DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
ContentDLC.c
См. документацию.
1
2// Binded values from engine
9
16
19{
20 private void ContentDLC();
21 private void ~ContentDLC();
22
24 proto void Subscribe(func fnc);
25 proto void Unsubscribe(func fnc);
26
28 static proto native bool IsValidDLCID(EDLCId dlcId);
29
36 proto native int GetEntitlements(out TIntArray dlcIdList);
37
42 proto bool IsDLCInstalled(EDLCId dlcId);
43
48 proto bool IsDLCMounted(EDLCId dlcId);
49
54 proto bool UseDLC(EDLCId dlcId);
55
62 proto bool BuyDLC(EDLCId dlcId);
63
68 proto EDLCId GetDLCFromWorld(string world);
69
74 proto string GetLocalizedName(EDLCId dlcId);
75
77 {
78 const int length = EnumTools.GetEnumSize(EDLCId);
79
80 // Start at 1, because 0 is DLC_UNKNOWN
81 for (int i = 1; i < length; ++i)
82 {
84 return false;
85 }
86
87 return true;
88 }
89};
@ UNKNOWN
24 - Any other error. Can be returned from any call.
Определения BIOSErrorModule.c:56
EDLCId
Определения ContentDLC.c:4
@ FROSTLINE
Определения ContentDLC.c:6
@ BADLANDS
Определения ContentDLC.c:7
EDLCChange
Определения ContentDLC.c:11
@ AVAILABLE
Определения ContentDLC.c:13
@ UNAVAILABLE
Определения ContentDLC.c:14
proto bool IsDLCInstalled(EDLCId dlcId)
proto EDLCId GetDLCFromWorld(string world)
proto string GetLocalizedName(EDLCId dlcId)
proto bool UseDLC(EDLCId dlcId)
proto void Subscribe(func fnc)
Subscribe to changes: void() OR void(EDLCId) OR void(EDLCId,EDLCChange)
proto bool BuyDLC(EDLCId dlcId)
bool OwnsAllDLC()
Определения ContentDLC.c:76
static proto native bool IsValidDLCID(EDLCId dlcId)
Check if a DLC ID is valid.
proto void Unsubscribe(func fnc)
void ContentDLC()
proto bool IsDLCMounted(EDLCId dlcId)
void ~ContentDLC()
proto native int GetEntitlements(out TIntArray dlcIdList)
static int GetEnumSize(typename e)
Return amount of values in enum.
Определения EnConvert.c:726
static int GetEnumValue(typename e, int idx)
Return the nth value in the enum.
Определения EnConvert.c:737
Определения EnConvert.c:688
Определения EnConvert.c:11
array< int > TIntArray
Определения EnScript.c:733