Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
modinfo.c
Go to the documentation of this file.
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();
16 proto void GoToStore();
17
18 static const string DEFAULT_PICTURE = "Gui/textures/modlogo_default_co.edds";
19 static const string DEFAULT_LOGO = "Gui/textures/modlogo_default_co.edds";
20 static const string DEFAULT_LOGO_SMALL = "Gui/textures/modlogo_default_co.edds";
21 static const string DEFAULT_LOGO_OVER = "Gui/textures/modlogo_default_hover_co.edds";
22 static const string DEFAULT_OVERVIEW = "";
23
24 static string GetDLCImage(string name)
25 {
26 string imagePath;
27 switch (name)
28 {
29 case "badlands":
30 {
31 imagePath = "gui/textures/dlc_panel_badlands.edds";
32 break;
33 }
34 case "frostline":
35 {
36 imagePath = "gui/textures/dlc_panel_frostline.edds";
37 break;
38 }
39 default:
40 {
41 imagePath = "set:dayz_gui image:ProgressDayZFull";
42 break;
43 }
44 }
45
46 return imagePath;
47 }
48}
override ActionBase GetAction()
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
proto native float GetDefault()
proto string GetName()
Suite class name getter. Strictly for UI porposes!
Definition syncedvalue.c:50
int GetVersion()