DayZ 1.24
Loading...
Searching...
No Matches
ModStructure Class Reference
Collaboration diagram for ModStructure:
[legend]

Protected Member Functions

void ModStructure (int index, string path)
 
void LoadData ()
 
string GetModName ()
 
string GetModLogo ()
 
string GetModLogoSmall ()
 
string GetModLogoOver ()
 
string GetModActionURL ()
 
string GetModToltip ()
 
string GetModOverview ()
 

Protected Attributes

int m_ModIndex
 
string m_ModPath
 
string m_ModName
 
string m_ModLogo
 
string m_ModLogoSmall
 
string m_ModLogoOver
 
string m_ModActionURL
 
string m_ModTooltip
 
string m_ModOverview
 

Detailed Description

Definition at line 1 of file ModStructure.c.

Constructor & Destructor Documentation

◆ ModStructure()

void ModStructure::ModStructure ( int index,
string path )
inlineprotected

Definition at line 13 of file ModStructure.c.

14 {
17 LoadData();
18 }
void LoadData()
string m_ModPath
Definition ModStructure.c:4

References LoadData(), m_ModIndex, m_ModPath, and path.

Member Function Documentation

◆ GetModActionURL()

string ModStructure::GetModActionURL ( )
inlineprotected

Definition at line 54 of file ModStructure.c.

55 {
56 return m_ModName;
57 }
string m_ModName
Definition ModStructure.c:5

References m_ModName.

◆ GetModLogo()

string ModStructure::GetModLogo ( )
inlineprotected

Definition at line 39 of file ModStructure.c.

40 {
41 return m_ModName;
42 }

References m_ModName.

◆ GetModLogoOver()

string ModStructure::GetModLogoOver ( )
inlineprotected

Definition at line 49 of file ModStructure.c.

50 {
51 return m_ModName;
52 }

References m_ModName.

◆ GetModLogoSmall()

string ModStructure::GetModLogoSmall ( )
inlineprotected

Definition at line 44 of file ModStructure.c.

45 {
46 return m_ModName;
47 }

References m_ModName.

◆ GetModName()

string ModStructure::GetModName ( )
inlineprotected

Definition at line 34 of file ModStructure.c.

35 {
36 return m_ModName;
37 }

References m_ModName.

◆ GetModOverview()

string ModStructure::GetModOverview ( )
inlineprotected

Definition at line 64 of file ModStructure.c.

65 {
66 return m_ModName;
67 }

References m_ModName.

◆ GetModToltip()

string ModStructure::GetModToltip ( )
inlineprotected

Definition at line 59 of file ModStructure.c.

60 {
61 return m_ModName;
62 }

References m_ModName.

◆ LoadData()

void ModStructure::LoadData ( )
inlineprotected

Definition at line 20 of file ModStructure.c.

21 {
22 if (GetGame().ConfigIsExisting(m_ModPath))
23 {
24 GetGame().ConfigGetText(m_ModPath + " name", m_ModName);
25 GetGame().ConfigGetText(m_ModPath + " picture", m_ModLogo);
26 GetGame().ConfigGetText(m_ModPath + " logo", m_ModLogoSmall);
27 GetGame().ConfigGetText(m_ModPath + " logoSmall", m_ModLogoOver);
28 GetGame().ConfigGetText(m_ModPath + " logoOver", m_ModActionURL);
29 GetGame().ConfigGetText(m_ModPath + " tooltip", m_ModTooltip);
30 GetGame().ConfigGetText(m_ModPath + " overview", m_ModOverview);
31 }
32 }
string m_ModOverview
string m_ModActionURL
Definition ModStructure.c:9
string m_ModLogo
Definition ModStructure.c:6
string m_ModTooltip
string m_ModLogoOver
Definition ModStructure.c:8
string m_ModLogoSmall
Definition ModStructure.c:7
proto native CGame GetGame()

References GetGame(), m_ModActionURL, m_ModLogo, m_ModLogoOver, m_ModLogoSmall, m_ModName, m_ModOverview, m_ModPath, and m_ModTooltip.

Referenced by ModStructure().

Member Data Documentation

◆ m_ModActionURL

string ModStructure::m_ModActionURL
protected

Definition at line 9 of file ModStructure.c.

Referenced by LoadData().

◆ m_ModIndex

int ModStructure::m_ModIndex
protected

Definition at line 3 of file ModStructure.c.

Referenced by ModStructure().

◆ m_ModLogo

string ModStructure::m_ModLogo
protected

Definition at line 6 of file ModStructure.c.

Referenced by LoadData().

◆ m_ModLogoOver

string ModStructure::m_ModLogoOver
protected

Definition at line 8 of file ModStructure.c.

Referenced by LoadData().

◆ m_ModLogoSmall

string ModStructure::m_ModLogoSmall
protected

Definition at line 7 of file ModStructure.c.

Referenced by LoadData().

◆ m_ModName

string ModStructure::m_ModName
protected

◆ m_ModOverview

string ModStructure::m_ModOverview
protected

Definition at line 11 of file ModStructure.c.

Referenced by LoadData().

◆ m_ModPath

string ModStructure::m_ModPath
protected

Definition at line 4 of file ModStructure.c.

Referenced by LoadData(), and ModStructure().

◆ m_ModTooltip

string ModStructure::m_ModTooltip
protected

Definition at line 10 of file ModStructure.c.

Referenced by LoadData().


The documentation for this class was generated from the following file: