DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
ModInfo.c
См. документацию.
1class ModInfo
2{
3 proto owned string GetName();
4 proto owned string GetPicture();
5 proto owned string GetLogo();
6 proto owned string GetLogoSmall();
7 proto owned string GetLogoOver(); //hover-over logo variant
8 proto owned string GetTooltip();
9 proto owned string GetOverview(); //description
10 proto owned string GetAction();
11 proto owned string GetAuthor();
12 proto owned string GetVersion();
13 proto bool GetDefault();
14 proto bool GetIsDLC();
15 proto bool GetIsOwned(); // owned & installed (it is possible this returns false even though owned when it is not installed)
17 proto void GoToStore();
18
19 static const string DEFAULT_PICTURE = "Gui/textures/modlogo_default_co.edds";
20 static const string DEFAULT_LOGO = "Gui/textures/modlogo_default_co.edds";
21 static const string DEFAULT_LOGO_SMALL = "Gui/textures/modlogo_default_co.edds";
22 static const string DEFAULT_LOGO_OVER = "Gui/textures/modlogo_default_hover_co.edds";
23 static const string DEFAULT_OVERVIEW = "";
24
25 [Obsolete("1.30: no replacement")]
26 static string GetDLCImage(string name)
27 {
28 string imagePath;
29 switch (name)
30 {
31 case "nasdara":
32 case "badlands":
33 {
34 imagePath = "gui/textures/dlc_panel_badlands.edds";
35 break;
36 }
37 case "frostline":
38 {
39 imagePath = "gui/textures/dlc_panel_frostline.edds";
40 break;
41 }
42 default:
43 {
44 imagePath = "set:dayz_gui image:ProgressDayZFull";
45 break;
46 }
47 }
48
49 return imagePath;
50 }
51}
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
EDLCId
Определения ContentDLC.c:4
proto owned string GetAction()
static const string DEFAULT_PICTURE
Определения ModInfo.c:19
proto void GoToStore()
static const string DEFAULT_LOGO
Определения ModInfo.c:20
proto owned string GetTooltip()
proto owned string GetPicture()
static const string DEFAULT_LOGO_OVER
Определения ModInfo.c:22
proto owned string GetOverview()
proto owned string GetLogoOver()
static const string DEFAULT_OVERVIEW
Определения ModInfo.c:23
proto bool GetIsDLC()
proto bool GetDefault()
proto owned string GetVersion()
proto bool GetIsOwned()
proto owned string GetLogo()
proto owned string GetLogoSmall()
static const string DEFAULT_LOGO_SMALL
Определения ModInfo.c:21
static string GetDLCImage(string name)
Определения ModInfo.c:26
proto EDLCId GetDLCID()
proto owned string GetName()
proto owned string GetAuthor()
Определения ModInfo.c:2
void Obsolete(string msg="")
Определения EnScript.c:371