Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ActionContextUIInfo.c
Go to the documentation of this file.
2{
3 [Attribute("{BF5FA7B21D658280}UI/layouts/HUD/InteractionSystem/ContextBasicInteractionBlip.layout", UIWidgets.ResourceNamePicker, "Layout", "layout")]
5
7
8 // Invokes when a Widget is assigned to the context this UIInfo is part of
9 // Passes the assigned Widget so it can be used in other scripts
11
12 //------------------------------------------------------------------------------------------------
16 {
17 return m_sLayoutName;
18 }
19
20 //------------------------------------------------------------------------------------------------
24 {
25 m_wAssignedWidget = widget;
26
28 m_OnWidgetAssigned.Invoke(widget);
29 }
30
31 //------------------------------------------------------------------------------------------------
38
39 //------------------------------------------------------------------------------------------------
48}
ScriptInvokerBase< ScriptInvokerWidgetMethod > ScriptInvokerWidget
ScriptInvokerWidget GetOnWidgetAssigned()
Listen to this ScriptInvoker to detect if and what Widget is assigned to it, to modify it as needed.
ref ScriptInvokerWidget m_OnWidgetAssigned
void OnWidgetAssigned(Widget widget)
SCR_FieldOfViewSettings Attribute