Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_BaseValueListEditorAttribute.c
Go to the documentation of this file.
1
4
[
BaseContainerProps
(),
SCR_BaseEditorAttributeCustomTitle
()]
5
class
SCR_BaseValueListEditorAttribute
:
SCR_BaseEditorAttribute
6
{
7
[
Attribute
()]
8
protected
ref
SCR_EditorAttributeBaseValues
m_baseValues;
9
10
override
int
GetEntries(notnull array<ref SCR_BaseEditorAttributeEntry> outEntries)
11
{
12
outEntries.Insert(
new
SCR_BaseEditorAttributeEntrySlider
(m_baseValues));
13
return
outEntries.Count();
14
}
15
};
16
17
18
[
BaseContainerProps
()]
19
class
SCR_EditorAttributeBaseValues
20
{
21
[
Attribute
(uiwidget: UIWidgets.LocaleEditBox, defvalue:
"%1"
)]
22
protected
LocalizedString
m_sSliderValueFormating;
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
45
float
GetMaxValue()
46
{
47
return
m_fMax
;
48
}
49
50
void
SetMaxValue(
float
maxValue)
51
{
52
m_fMax
= maxValue;
53
}
54
};
m_sSliderValueFormating
protected string m_sSliderValueFormating
Definition:
SCR_BaseEditorAttribute.c:523
SCR_EditorAttributeBaseValues
Definition:
SCR_BaseValueListEditorAttribute.c:19
m_fMax
protected float m_fMax
Definition:
SCR_BaseEditorAttribute.c:520
SCR_BaseEditorAttributeCustomTitle
Definition:
SCR_BaseEditorAttribute.c:868
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_BaseValueListEditorAttribute
Definition:
SCR_BaseValueListEditorAttribute.c:5
SCR_BaseEditorAttribute
Base Attribute Script for other attributes to inherent from to get and set varriables in Editor Attri...
Definition:
SCR_BaseEditorAttribute.c:3
SCR_BaseEditorAttributeEntrySlider
void SCR_BaseEditorAttributeEntrySlider(SCR_EditorAttributeBaseValues sliderValues)
Definition:
SCR_BaseEditorAttribute.c:581
m_fStep
protected float m_fStep
Definition:
SCR_BaseEditorAttribute.c:521
LocalizedString
Definition:
LocalizedString.c:21
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition:
SCR_AIGoalReaction.c:468
m_fMin
SCR_BaseEditorAttributeEntryUIInfo m_fMin
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Editor
Containers
Attributes
SCR_BaseValueListEditorAttribute.c
Generated by
1.8.17