Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_OverrideModesEditorAttributeUIComponent.c
Go to the documentation of this file.
1
4{
5 protected override void ToggleEnableAttribute(bool enabled)
6 {
7 super.ToggleEnableAttribute(enabled);
8
9 if(!enabled)
10 {
12 if (!attribute)
13 return;
14
16 if (!var)
17 return;
18
20 if (!core)
21 return;
22
23 var.SetInt(core.GetBaseModes(EEditorModeFlag.DEFAULT));
24 SetFromVar(var);
25 }
26 }
27};
EEditorModeFlag
Base Attribute Script for other attributes to inherent from to get and set varriables in Editor Attri...
sealed SCR_BaseEditorAttributeVar GetVariableOrCopy()
Get attribute this component represents return Editor attribute *SCR_BaseEditorAttribute GetAttribute()
Core component to manage SCR_EditorManagerEntity.
EEditorMode GetBaseModes(EEditorModeFlag flags=-1, bool coreOnly=false)