Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditAttributesUIComponent.c
Go to the documentation of this file.
1
2
4{
5 [Attribute(desc: "Dialog created when attributes are edited.", defvalue: "-1", uiwidget: UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(ChimeraMenuPreset))]
6 private ChimeraMenuPreset m_MenuPreset;
7
8// private SCR_AttributesManagerEditorComponent m_AttributesManager;
9//
10// //------------------------------------------------------------------------------------------------
11// protected void OnEditingStart(array<SCR_BaseEditorAttribute> attributes)
12// {
13// if (m_MenuPreset == -1)
14// return;
15//
16// EditorMenuBase menu = EditorMenuBase.Cast(GetMenu());
17// if (!menu)
18// return;
19//
20// menu.OpenDialog(m_MenuPreset);
21// }
22//
23// //------------------------------------------------------------------------------------------------
24// override void HandlerAttachedScripted(Widget w)
25// {
26// m_AttributesManager = SCR_AttributesManagerEditorComponent.Cast(SCR_AttributesManagerEditorComponent.GetInstance(SCR_AttributesManagerEditorComponent));
27// if (!m_AttributesManager)
28// {
29// Print("SCR_EditAttributesEditorUIComponent requires SCR_AttributesManagerEditorComponent!", LogLevel.ERROR);
30// return;
31// }
32//
33// m_AttributesManager.GetOnAttributesStart().Insert(OnEditingStart);
34// }
35//
36// //------------------------------------------------------------------------------------------------
37// override void HandlerDeattached(Widget w)
38// {
39// super.HandlerDeattached(w);
40//
41// m_AttributesManager = SCR_AttributesManagerEditorComponent.Cast(SCR_AttributesManagerEditorComponent.GetInstance(SCR_AttributesManagerEditorComponent));
42// if (m_AttributesManager)
43// m_AttributesManager.GetOnAttributesStart().Remove(OnEditingStart);
44// }
45}
ChimeraMenuPreset
Menu presets.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute