Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseValueListEditorAttribute.c
Go to the documentation of this file.
1
6{
7 [Attribute()]
9
10 override int GetEntries(notnull array<ref SCR_BaseEditorAttributeEntry> outEntries)
11 {
13 return outEntries.Count();
14 }
15};
16
17
20{
21 [Attribute(uiwidget: UIWidgets.LocaleEditBox, defvalue: "%1")]
23
24 [Attribute()]
25 protected float m_fMin;
26
27 [Attribute(defvalue: "100")]
28 protected float m_fMax;
29
30 [Attribute(defvalue: "1")]
31 protected float m_fStep;
32
33 [Attribute(defvalue: "2")]
34 protected int m_iDecimals;
35
36 void GetSliderValues(out string sliderValueFormating, out float min, out float max, out float step, out int decimals)
37 {
38 sliderValueFormating = m_sSliderValueFormating;
39 min = m_fMin;
40 max = m_fMax;
41 step = m_fStep;
42 decimals = m_iDecimals;
43 }
44
46 {
47 return m_fMax;
48 }
49
50 void SetMaxValue(float maxValue)
51 {
52 m_fMax = maxValue;
53 }
54};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SCR_BaseEditorAttributeEntrySlider(SCR_EditorAttributeBaseValues sliderValues)
Base Attribute Script for other attributes to inherent from to get and set varriables in Editor Attri...
override int GetEntries(notnull array< ref SCR_BaseEditorAttributeEntry > outEntries)
ref SCR_EditorAttributeBaseValues m_baseValues
void GetSliderValues(out string sliderValueFormating, out float min, out float max, out float step, out int decimals)
SCR_FieldOfViewSettings Attribute