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_BaseContextMenuEditorUIComponent.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
2
class
SCR_BaseContextMenuEditorUIComponent
:
SCR_BaseEditorUIComponent
3
{
4
[
Attribute
(
""
,
UIWidgets
.ResourceNamePicker,
"Button"
,
"layout"
)]
5
protected
ResourceName
m_ButtonPath
;
6
7
[
Attribute
(
"VLayout"
,
UIWidgets
.EditBox)]
8
protected
string
m_VLayoutWidgetName
;
9
10
[
Attribute
(
"BottomBar"
)]
11
protected
string
m_sBottomBarName
;
12
13
[
Attribute
(
"250"
,
desc
:
"Screen width of the button prefab"
)]
14
protected
int
m_ButtonPrefabSizeX
;
15
[
Attribute
(
"34"
,
desc
:
"Screen height of the button prefab"
)]
16
protected
int
m_ButtonPrefabSizeY
;
17
18
[
Attribute
(
"4"
)]
19
protected
float
m_fMenuMouseOffsetX
;
20
21
[
Attribute
(
"0.025"
,
"Fade delay in seconds. For every new button that is added the delay increases slightly"
)]
22
protected
float
m_fFadeDelayNextButton
;
23
24
[
Attribute
(
"4"
,
"How fast each button appears"
)]
25
protected
float
m_fButtonFadeSpeed
;
26
27
protected
InputManager
m_InputManager
;
28
protected
WorkspaceWidget
m_WorkSpace
;
29
30
protected
Widget
m_ContextMenu
;
31
protected
Widget
m_VLayout
;
32
protected
SCR_FadeUIComponent
m_BottomBarFadeUI
;
33
34
protected
vector
m_MouseDownScreenPos
;
35
protected
vector
m_MouseDownWorldPos
;
36
37
protected
ref
map<Widget, SCR_BaseEditorAction>
m_ButtonActions
=
new
map<Widget, SCR_BaseEditorAction>
;
38
39
protected
SCR_BaseActionsEditorComponent
m_EditorActionsComponent
;
40
protected
SCR_EditorManagerEntity
m_EditorManager
;
41
protected
SCR_CursorEditorUIComponent
m_CursorComponent
;
42
protected
SCR_MouseAreaEditorUIComponent
m_MouseArea
;
43
44
protected
int
m_ActionFlagsOnOpen
;
45
46
protected
ref
ScriptInvoker
m_OnContextMenuToggle
=
new
ScriptInvoker
();
47
48
void
CloseContextMenu
()
49
{
50
if
(
m_ContextMenu
)
51
m_ContextMenu
.SetVisible(
false
);
52
53
if
(
m_WorkSpace
)
54
m_WorkSpace
.SetFocusedWidget(null);
55
56
m_OnContextMenuToggle
.Invoke(
false
);
57
}
58
ScriptInvoker
GetOnContextMenuToggle
()
59
{
60
return
m_OnContextMenuToggle
;
61
}
62
63
protected
void
OnInputDeviceIsGamepad
(
bool
isGamepad)
64
{
65
CloseContextMenu
();
66
}
67
68
//---- REFACTOR NOTE START: UI behavior might be unifiend
69
// Using hard coded widget name
70
71
protected
void
PopulateContextMenu
(
vector
cursorWorldPosition)
72
{
73
array<ref SCR_EditorActionData> actions = {};
74
m_EditorActionsComponent
.GetAndEvaluateActions(cursorWorldPosition, actions,
m_ActionFlagsOnOpen
);
75
m_BottomBarFadeUI
.GetFadeWidget().SetVisible(
false
);
76
77
float
fadeDelay = 0;
78
79
Widget
lastButtonLayout;
80
81
// Add Context Action buttons
82
for
(
int
i = 0; i < actions.Count(); i++)
83
{
84
SCR_BaseEditorAction
action = actions[i].GetAction();
85
86
// Don't show actions in context menu that can't be performed
87
bool
canBePerformed = actions[i].GetCanBePerformed();
88
if
(!canBePerformed)
89
continue
;
90
91
SCR_UIInfo
info = action.
GetInfo
();
92
// Create button layout
93
Widget
buttonLayout =
m_WorkSpace
.CreateWidgets(
m_ButtonPath
,
m_VLayout
);
94
lastButtonLayout = buttonLayout;
95
96
SCR_ContextMenuButtonEditorUIComponent
contextMenuButtonComponent =
SCR_ContextMenuButtonEditorUIComponent
.Cast(buttonLayout.FindHandler(
SCR_ContextMenuButtonEditorUIComponent
));
97
98
ButtonActionComponent
.GetOnAction(buttonLayout).Insert(
OnContextMenuOptionClicked
);
99
100
contextMenuButtonComponent.SetData(info, action.
GetShortcut
(), canBePerformed);
101
102
SCR_LinkTooltipTargetEditorUIComponent
.
SetInfo
(buttonLayout, info, action);
103
104
m_ButtonActions
.Set(buttonLayout, action);
105
106
SCR_FadeUIComponent
fadeComponent =
SCR_FadeUIComponent
.Cast(buttonLayout.FindHandler(
SCR_FadeUIComponent
));
107
if
(fadeComponent)
108
{
109
fadeComponent.
SetFadeInSpeed
(
m_fButtonFadeSpeed
);
110
fadeComponent.
DelayedFadeIn
(fadeDelay * 1000,
true
);
111
fadeDelay +=
m_fFadeDelayNextButton
;
112
}
113
}
114
115
// Hide the divider for lastButtonLayout
116
if
(lastButtonLayout)
117
{
118
Widget
divider = lastButtonLayout.FindAnyWidget(
"Stripe"
);
119
120
if
(divider)
121
divider.SetVisible(
false
);
122
}
123
124
125
if
(
m_BottomBarFadeUI
)
126
m_BottomBarFadeUI
.DelayedFadeIn(fadeDelay * 1000,
true
);
127
}
128
129
//---- REFACTOR NOTE END ----
130
131
bool
IsContextMenuOpen
()
132
{
133
return
m_ContextMenu
!= null &&
m_ContextMenu
.IsVisibleInHierarchy();
134
}
135
136
protected
void
OpenContextMenu
()
137
{
138
if
(!
m_InputManager
.IsUsingMouseAndKeyboard() || !
m_EditorActionsComponent
)
139
{
140
return
;
141
}
142
143
// Remove existing button widgets
144
RemoveButtonWidgets
();
145
146
m_MouseDownWorldPos
=
GetCursorWorldPos
();
147
148
PopulateContextMenu
(
m_MouseDownWorldPos
);
149
150
// Get context menu size and screen size
151
float
contextMenuWidth, contextMenuHeight, screenWidth, screenHeight;
152
m_WorkSpace
.GetScreenSize(screenWidth, screenHeight);
153
154
// Convert to reference resolution
155
screenWidth =
m_WorkSpace
.DPIUnscale(screenWidth);
156
screenHeight =
m_WorkSpace
.DPIUnscale(screenHeight);
157
158
contextMenuHeight =
m_ButtonActions
.Count() *
m_ButtonPrefabSizeY
;
159
contextMenuWidth =
m_ButtonPrefabSizeX
;
160
161
162
163
// If context menu goes offscreen, move to other side of cursor for both x and y
164
if
(
m_MouseDownScreenPos
[0] + contextMenuWidth > screenWidth)
165
{
166
m_MouseDownScreenPos
[0] = (
m_MouseDownScreenPos
[0]) - (contextMenuWidth +
m_fMenuMouseOffsetX
);
167
}
168
else
169
{
170
m_MouseDownScreenPos
[0] =
m_MouseDownScreenPos
[0] +
m_fMenuMouseOffsetX
;
171
}
172
if
(
m_MouseDownScreenPos
[1] + contextMenuHeight > screenHeight)
173
{
174
m_MouseDownScreenPos
[1] = (
m_MouseDownScreenPos
[1]) - contextMenuHeight;
175
}
176
177
// Set Context menu position
178
FrameSlot
.SetPos(
m_ContextMenu
,
m_MouseDownScreenPos
[0],
m_MouseDownScreenPos
[1]);
179
// Show context menu
180
if
(
m_ButtonActions
.Count() > 0)
181
{
182
m_ContextMenu
.SetVisible(
true
);
183
m_OnContextMenuToggle
.Invoke(
true
);
184
}
185
}
186
187
protected
vector
GetCursorWorldPos
()
188
{
189
vector
cursorWorldPosition;
190
191
if
(!
m_CursorComponent
)
192
m_CursorComponent
=
SCR_CursorEditorUIComponent
.Cast(GetRootComponent().FindComponent(
SCR_CursorEditorUIComponent
));
193
194
if
(
m_CursorComponent
&&
m_CursorComponent
.GetCursorWorldPos(cursorWorldPosition))
195
return
cursorWorldPosition;
196
197
return
vector
.Zero;
198
}
199
200
protected
void
RemoveButtonWidgets
()
201
{
202
Widget
childWidget =
m_VLayout
.GetChildren();
203
204
while
(childWidget)
205
{
206
childWidget.RemoveFromHierarchy();
207
childWidget =
m_VLayout
.GetChildren();
208
}
209
210
m_ButtonActions
.Clear();
211
}
212
213
protected
void
OnMouseLeftDown
()
214
{
215
if
(!
IsContextMenuOpen
())
return
;
216
217
float
mouseX, mouseY, layoutX1, layoutY1, layoutX2, layoutY2, layoutWidth, layoutHeight;
218
mouseX =
m_InputManager
.GetActionValue(
"MouseX"
);
219
mouseY =
m_InputManager
.GetActionValue(
"MouseY"
);
220
221
m_ContextMenu
.GetScreenPos(layoutX1, layoutY1);
222
m_ContextMenu
.GetScreenSize(layoutWidth, layoutHeight);
223
layoutX2 = layoutX1 + layoutWidth;
224
layoutY2 = layoutY1 + layoutHeight;
225
226
// Close context menu when clicking outside of it
227
if
(mouseX < layoutX1 || mouseY < layoutY1 || mouseX > layoutX2 || mouseY > layoutY2)
228
{
229
CloseContextMenu
();
230
}
231
}
232
233
protected
void
OnOpenActionsMenuDown
()
234
{
235
CloseContextMenu
();
236
SCR_BaseEditableEntityFilter
hoverFilter =
SCR_BaseEditableEntityFilter
.
GetInstance
(
EEditableEntityState
.HOVER);
237
if
((!
m_MouseArea
||
m_MouseArea
.IsMouseOn()) || (!hoverFilter || !hoverFilter.
IsEmpty
()))
238
m_MouseDownScreenPos
=
OnCancelDown
();
239
}
240
241
protected
void
OnContextMenuOptionClicked
(
Widget
widget,
float
value,
EActionTrigger
reason
)
242
{
243
SCR_BaseEditorAction
action =
m_ButtonActions
.Get(widget);
244
if
(action &&
m_EditorActionsComponent
)
245
{
246
m_EditorActionsComponent
.ActionPerform(action,
m_MouseDownWorldPos
,
m_ActionFlagsOnOpen
);
247
}
248
CloseContextMenu
();
249
}
250
251
protected
void
OnEditorModeChanged
()
252
{
253
// Override to assign m_EditorActionsComponent
254
}
255
256
override
void
HandlerAttachedScripted
(
Widget
w)
257
{
258
super.HandlerAttachedScripted(w);
259
260
ArmaReforgerScripted
game
=
GetGame
();
261
m_WorkSpace
=
game
.GetWorkspace();
262
m_InputManager
=
game
.GetInputManager();
263
264
if
(
m_InputManager
)
265
{
266
m_InputManager
.AddActionListener(
"MouseLeft"
,
EActionTrigger
.DOWN,
OnMouseLeftDown
);
267
m_InputManager
.AddActionListener(
"EditorContextMenuClose"
,
EActionTrigger
.DOWN,
CloseContextMenu
);
268
}
269
270
if
(
m_ButtonPath
.IsEmpty())
271
{
272
Print
(
"Button prefab not set on (actions/waypoint) ContextMenuEditorUIComponent"
,
LogLevel
.ERROR);
273
}
274
275
game
.OnInputDeviceIsGamepadInvoker().Insert(
OnInputDeviceIsGamepad
);
276
277
m_EditorManager
=
SCR_EditorManagerEntity
.GetInstance();
278
279
m_EditorManager
.GetOnModeChange().Insert(
OnEditorModeChanged
);
280
281
m_CursorComponent
=
SCR_CursorEditorUIComponent
.Cast(GetRootComponent().FindComponent(
SCR_CursorEditorUIComponent
));
282
m_MouseArea
=
SCR_MouseAreaEditorUIComponent
.Cast(GetRootComponent().FindComponent(
SCR_MouseAreaEditorUIComponent
));
283
284
OnEditorModeChanged
();
285
286
m_ContextMenu
=
GetWidget
();
287
m_ContextMenu
.SetVisible(
false
);
288
m_VLayout
=
m_ContextMenu
.FindAnyWidget(
m_VLayoutWidgetName
);
289
290
if
(!
m_VLayout
)
291
{
292
Print
(
"Vertical layout not found on (actions/waypoint) ContextMenuEditorUIComponent, see m_VLayoutWidgetName"
,
LogLevel
.ERROR);
293
}
294
295
Widget
bottomBar = w.FindAnyWidget(
m_sBottomBarName
);
296
if
(bottomBar)
297
{
298
m_BottomBarFadeUI
=
SCR_FadeUIComponent
.Cast(bottomBar.FindHandler(
SCR_FadeUIComponent
));
299
if
(
m_BottomBarFadeUI
)
300
{
301
m_BottomBarFadeUI
.SetFadeInSpeed(
m_fButtonFadeSpeed
);
302
bottomBar.SetVisible(
false
);
303
}
304
}
305
}
306
307
override
void
HandlerDeattached
(
Widget
w)
308
{
309
super.HandlerDeattached(w);
310
311
if
(
m_InputManager
)
312
{
313
m_InputManager
.RemoveActionListener(
"MouseLeft"
,
EActionTrigger
.DOWN,
OnMouseLeftDown
);
314
m_InputManager
.RemoveActionListener(
"EditorContextMenuClose"
,
EActionTrigger
.DOWN,
CloseContextMenu
);
315
}
316
317
if
(
m_EditorManager
)
318
{
319
m_EditorManager
.GetOnModeChange().Remove(
OnEditorModeChanged
);
320
}
321
322
if
(
GetGame
().
OnInputDeviceIsGamepadInvoker
())
323
GetGame
().OnInputDeviceIsGamepadInvoker().Remove(
OnInputDeviceIsGamepad
);
324
}
325
};
game
ref DSGameConfig game
Definition
DSConfig.c:81
GetGame
ArmaReforgerScripted GetGame()
Definition
game.c:1398
OnInputDeviceIsGamepadInvoker
ScriptInvoker OnInputDeviceIsGamepadInvoker()
Definition
game.c:238
SCR_EditorManagerEntity
void SCR_EditorManagerEntity(IEntitySource src, IEntity parent)
Definition
SCR_EditorManagerEntity.c:2211
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
GetWidget
Widget GetWidget()
Definition
SCR_VonDisplay.c:162
reason
string reason
Definition
ServerBrowserMenuCallbacks.c:41
ButtonActionComponent
Component to execute action when the button or its shortcut is pressed.
Definition
ButtonActionComponent.c:3
FrameSlot
Definition
FrameSlot.c:13
InputManager
Input management system for user interactions.
Definition
InputManager.c:20
ResourceName
Definition
ResourceName.c:13
SCR_BaseContextMenuEditorUIComponent
Definition
SCR_BaseContextMenuEditorUIComponent.c:3
SCR_BaseContextMenuEditorUIComponent::RemoveButtonWidgets
void RemoveButtonWidgets()
Definition
SCR_BaseContextMenuEditorUIComponent.c:200
SCR_BaseContextMenuEditorUIComponent::m_sBottomBarName
string m_sBottomBarName
Definition
SCR_BaseContextMenuEditorUIComponent.c:11
SCR_BaseContextMenuEditorUIComponent::m_fButtonFadeSpeed
float m_fButtonFadeSpeed
Definition
SCR_BaseContextMenuEditorUIComponent.c:25
SCR_BaseContextMenuEditorUIComponent::HandlerAttachedScripted
override void HandlerAttachedScripted(Widget w)
Definition
SCR_BaseContextMenuEditorUIComponent.c:256
SCR_BaseContextMenuEditorUIComponent::m_ButtonActions
ref map< Widget, SCR_BaseEditorAction > m_ButtonActions
Definition
SCR_BaseContextMenuEditorUIComponent.c:37
SCR_BaseContextMenuEditorUIComponent::PopulateContextMenu
void PopulateContextMenu(vector cursorWorldPosition)
Definition
SCR_BaseContextMenuEditorUIComponent.c:71
SCR_BaseContextMenuEditorUIComponent::m_InputManager
InputManager m_InputManager
Definition
SCR_BaseContextMenuEditorUIComponent.c:27
SCR_BaseContextMenuEditorUIComponent::m_fFadeDelayNextButton
float m_fFadeDelayNextButton
Definition
SCR_BaseContextMenuEditorUIComponent.c:22
SCR_BaseContextMenuEditorUIComponent::m_EditorManager
SCR_EditorManagerEntity m_EditorManager
Definition
SCR_BaseContextMenuEditorUIComponent.c:40
SCR_BaseContextMenuEditorUIComponent::OnOpenActionsMenuDown
void OnOpenActionsMenuDown()
Definition
SCR_BaseContextMenuEditorUIComponent.c:233
SCR_BaseContextMenuEditorUIComponent::OnInputDeviceIsGamepad
void OnInputDeviceIsGamepad(bool isGamepad)
Definition
SCR_BaseContextMenuEditorUIComponent.c:63
SCR_BaseContextMenuEditorUIComponent::m_ButtonPrefabSizeX
int m_ButtonPrefabSizeX
Definition
SCR_BaseContextMenuEditorUIComponent.c:14
SCR_BaseContextMenuEditorUIComponent::m_BottomBarFadeUI
SCR_FadeUIComponent m_BottomBarFadeUI
Definition
SCR_BaseContextMenuEditorUIComponent.c:32
SCR_BaseContextMenuEditorUIComponent::m_ContextMenu
Widget m_ContextMenu
Definition
SCR_BaseContextMenuEditorUIComponent.c:30
SCR_BaseContextMenuEditorUIComponent::GetOnContextMenuToggle
ScriptInvoker GetOnContextMenuToggle()
Definition
SCR_BaseContextMenuEditorUIComponent.c:58
SCR_BaseContextMenuEditorUIComponent::GetCursorWorldPos
vector GetCursorWorldPos()
Definition
SCR_BaseContextMenuEditorUIComponent.c:187
SCR_BaseContextMenuEditorUIComponent::m_MouseDownWorldPos
vector m_MouseDownWorldPos
Definition
SCR_BaseContextMenuEditorUIComponent.c:35
SCR_BaseContextMenuEditorUIComponent::m_EditorActionsComponent
SCR_BaseActionsEditorComponent m_EditorActionsComponent
Definition
SCR_BaseContextMenuEditorUIComponent.c:39
SCR_BaseContextMenuEditorUIComponent::OnContextMenuOptionClicked
void OnContextMenuOptionClicked(Widget widget, float value, EActionTrigger reason)
Definition
SCR_BaseContextMenuEditorUIComponent.c:241
SCR_BaseContextMenuEditorUIComponent::HandlerDeattached
override void HandlerDeattached(Widget w)
Definition
SCR_BaseContextMenuEditorUIComponent.c:307
SCR_BaseContextMenuEditorUIComponent::m_WorkSpace
WorkspaceWidget m_WorkSpace
Definition
SCR_BaseContextMenuEditorUIComponent.c:28
SCR_BaseContextMenuEditorUIComponent::m_OnContextMenuToggle
ref ScriptInvoker m_OnContextMenuToggle
Definition
SCR_BaseContextMenuEditorUIComponent.c:46
SCR_BaseContextMenuEditorUIComponent::m_VLayoutWidgetName
string m_VLayoutWidgetName
Definition
SCR_BaseContextMenuEditorUIComponent.c:8
SCR_BaseContextMenuEditorUIComponent::OpenContextMenu
void OpenContextMenu()
Definition
SCR_BaseContextMenuEditorUIComponent.c:136
SCR_BaseContextMenuEditorUIComponent::m_fMenuMouseOffsetX
float m_fMenuMouseOffsetX
Definition
SCR_BaseContextMenuEditorUIComponent.c:19
SCR_BaseContextMenuEditorUIComponent::IsContextMenuOpen
bool IsContextMenuOpen()
Definition
SCR_BaseContextMenuEditorUIComponent.c:131
SCR_BaseContextMenuEditorUIComponent::OnMouseLeftDown
void OnMouseLeftDown()
Definition
SCR_BaseContextMenuEditorUIComponent.c:213
SCR_BaseContextMenuEditorUIComponent::m_ButtonPath
ResourceName m_ButtonPath
Definition
SCR_BaseContextMenuEditorUIComponent.c:5
SCR_BaseContextMenuEditorUIComponent::m_CursorComponent
SCR_CursorEditorUIComponent m_CursorComponent
Definition
SCR_BaseContextMenuEditorUIComponent.c:41
SCR_BaseContextMenuEditorUIComponent::m_MouseDownScreenPos
vector m_MouseDownScreenPos
Definition
SCR_BaseContextMenuEditorUIComponent.c:34
SCR_BaseContextMenuEditorUIComponent::OnEditorModeChanged
void OnEditorModeChanged()
Definition
SCR_BaseContextMenuEditorUIComponent.c:251
SCR_BaseContextMenuEditorUIComponent::m_ButtonPrefabSizeY
int m_ButtonPrefabSizeY
Definition
SCR_BaseContextMenuEditorUIComponent.c:16
SCR_BaseContextMenuEditorUIComponent::m_ActionFlagsOnOpen
int m_ActionFlagsOnOpen
Definition
SCR_BaseContextMenuEditorUIComponent.c:44
SCR_BaseContextMenuEditorUIComponent::m_VLayout
Widget m_VLayout
Definition
SCR_BaseContextMenuEditorUIComponent.c:31
SCR_BaseContextMenuEditorUIComponent::m_MouseArea
SCR_MouseAreaEditorUIComponent m_MouseArea
Definition
SCR_BaseContextMenuEditorUIComponent.c:42
SCR_BaseContextMenuEditorUIComponent::CloseContextMenu
void CloseContextMenu()
Definition
SCR_BaseContextMenuEditorUIComponent.c:48
SCR_BaseEditableEntityFilter
Definition
SCR_BaseEditableEntityFilter.c:14
SCR_BaseEditableEntityFilter::GetInstance
static SCR_BaseEditableEntityFilter GetInstance(EEditableEntityState state, bool showError=false)
Definition
SCR_BaseEditableEntityFilter.c:54
SCR_BaseEditableEntityFilter::IsEmpty
bool IsEmpty()
Definition
SCR_BaseEditableEntityFilter.c:192
SCR_BaseEditorAction
Definition
SCR_BaseEditorAction.c:25
SCR_BaseEditorAction::GetInfo
SCR_UIInfo GetInfo()
Definition
SCR_BaseEditorAction.c:111
SCR_BaseEditorAction::GetShortcut
string GetShortcut()
Definition
SCR_BaseEditorAction.c:132
SCR_BaseEditorUIComponent
Definition
SCR_BaseEditorUIComponent.c:4
SCR_BaseEditorUIComponent::OnCancelDown
vector OnCancelDown()
Definition
SCR_BaseEditorUIComponent.c:10
SCR_ContextMenuButtonEditorUIComponent
Definition
SCR_ContextMenuButtonEditorUIComponent.c:2
SCR_CursorEditorUIComponent
Definition
SCR_CursorEditorUIComponent.c:4
SCR_FadeUIComponent
Definition
SCR_FadeUIComponent.c:2
SCR_FadeUIComponent::DelayedFadeIn
void DelayedFadeIn(int delay, bool setOpacityZero=true)
Definition
SCR_FadeUIComponent.c:74
SCR_FadeUIComponent::SetFadeInSpeed
void SetFadeInSpeed(float fadeInSpeed)
Definition
SCR_FadeUIComponent.c:160
SCR_LinkTooltipTargetEditorUIComponent
Definition
SCR_LinkTooltipTargetEditorUIComponent.c:4
SCR_LinkTooltipTargetEditorUIComponent::SetInfo
void SetInfo(SCR_UIInfo info, Managed target=null)
Definition
SCR_LinkTooltipTargetEditorUIComponent.c:11
SCR_MouseAreaEditorUIComponent
Definition
SCR_MouseAreaEditorUIComponent.c:4
SCR_UIInfo
Definition
SCR_UIInfo.c:8
UIWidgets
Definition
attributes.c:40
Widget
Definition
Widget.c:13
WorkspaceWidget
Definition
WorkspaceWidget.c:16
map
Definition
Types.c:486
vector
Definition
vector.c:13
Print
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
LogLevel
Enum with severity of the logging message.
Definition
LogLevel.c:14
EEditableEntityState
EEditableEntityState
Definition
EEditableEntityState.c:38
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
EActionTrigger
EActionTrigger
Definition
EActionTrigger.c:13
ScriptInvoker
ScriptInvokerBase< func > ScriptInvoker
Definition
tools.c:134
scripts
Game
Editor
UI
Components
Common
SCR_BaseContextMenuEditorUIComponent.c
Generated by
1.17.0