Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_PlayerDataSpecializationDisplay.c
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------------
3{
4 protected int m_iId;
6 protected string m_sTitle, m_sUnits;
7 protected int m_iValue;
8
9 //------------------------------------------------------------------------------------------------
10 void SCR_PlayerDataSpecializationDisplay(int id, SCR_EDataStats en, string title, string units, float value = 0)
11 {
12 m_iId = id;
13 m_iEnumId = en;
14 m_sTitle = title;
15 m_sUnits = units;
16 m_iValue = value;
17 }
18
19 //------------------------------------------------------------------------------------------------
21 {
22 return m_iEnumId;
23 }
24
25 //------------------------------------------------------------------------------------------------
26 void SetTitle(string s)
27 {
28 m_sTitle = s;
29 }
30
31 //------------------------------------------------------------------------------------------------
32 string GetTitle()
33 {
34 return m_sTitle;
35 }
36
37 //------------------------------------------------------------------------------------------------
38 void SetUnits(string u)
39 {
40 m_sUnits = u;
41 }
42
43 //------------------------------------------------------------------------------------------------
44 string GetUnits()
45 {
46 return m_sUnits;
47 }
48
49 //------------------------------------------------------------------------------------------------
50 void SetValue(float v)
51 {
52 m_iValue = v;
53 }
54
55 //------------------------------------------------------------------------------------------------
57 {
58 return m_iValue;
59 }
60
61}
AddonBuildInfoTool id
SCR_EDataStats
void SCR_PlayerDataSpecializationDisplay(int id, SCR_EDataStats en, string title, string units, float value=0)