Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_EditAttributesUIComponent.c
Go to the documentation of this file.
1
2
3
class
SCR_EditAttributesEditorUIComponent
:
SCR_BaseEditorUIComponent
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
ChimeraMenuPreset
Menu presets.
Definition
ChimeraMenuBase.c:4
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
SCR_BaseEditorUIComponent
Definition
SCR_BaseEditorUIComponent.c:4
SCR_EditAttributesEditorUIComponent
Definition
SCR_EditAttributesUIComponent.c:4
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Editor
UI
Components
Common
SCR_EditAttributesUIComponent.c
Generated by
1.17.0