Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_OverrideModesEditorAttributeUIComponent.c
Go to the documentation of this file.
1
3
class
SCR_OverrideModesEditorAttributeUIComponent
:
SCR_ButtonBoxMultiSelectAttributeUIComponent
4
{
5
protected
override
void
ToggleEnableAttribute(
bool
enabled)
6
{
7
super.ToggleEnableAttribute(enabled);
8
9
if
(!enabled)
10
{
11
SCR_BaseEditorAttribute
attribute = GetAttribute();
12
if
(!attribute)
13
return
;
14
15
SCR_BaseEditorAttributeVar
var = attribute.GetVariableOrCopy();
16
if
(!var)
17
return
;
18
19
SCR_EditorManagerCore
core =
SCR_EditorManagerCore
.Cast(
SCR_EditorManagerCore
.GetInstance(
SCR_EditorManagerCore
));
20
if
(!core)
21
return
;
22
23
var.SetInt(core.GetBaseModes(
EEditorModeFlag
.DEFAULT));
24
SetFromVar(var);
25
}
26
}
27
};
SCR_ButtonBoxMultiSelectAttributeUIComponent
Definition:
SCR_ButtonBoxMultiSelectAttributeUIComponent.c:3
SCR_BaseEditorAttributeVar
Definition:
SCR_BaseEditorAttributeVar.c:1
SCR_EditorManagerCore
Core component to manage SCR_EditorManagerEntity.
Definition:
SCR_EditorManagerCore.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
EEditorModeFlag
EEditorModeFlag
Definition:
EEditorModeFlag.c:1
SCR_OverrideModesEditorAttributeUIComponent
Definition:
SCR_OverrideModesEditorAttributeUIComponent.c:3
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Editor
UI
Components
Attributes
SCR_OverrideModesEditorAttributeUIComponent.c
Generated by
1.8.17