Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_PlayerDataSpecializationDisplay.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
3 {
4  protected int m_iId;
5  protected SCR_EDataStats m_iEnumId;
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  //------------------------------------------------------------------------------------------------
20  SCR_EDataStats GetEnumId()
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  //------------------------------------------------------------------------------------------------
56  int GetValue()
57  {
58  return m_iValue;
59  }
60 
61 }
m_iValue
protected int m_iValue
Definition: SCR_VotingBase.c:3
SCR_PlayerDataSpecializationDisplay
Definition: SCR_PlayerDataSpecializationDisplay.c:2
SCR_EDataStats
SCR_EDataStats
Definition: SCR_PlayerData.c:950