Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_LinkTooltipTargetEditorUIComponent.c
Go to the documentation of this file.
1
3
class
SCR_LinkTooltipTargetEditorUIComponent
:
SCR_BaseTooltipTargetEditorUIComponent
4
{
5
protected
SCR_UIInfo
m_Info;
6
protected
Managed m_Target;
7
8
//------------------------------------------------------------------------------------------------
11
void
SetInfo(
SCR_UIInfo
info, Managed target =
null
)
12
{
13
m_Info
= info;
14
m_Target
= target;
15
RefreshTooltip();
16
}
17
18
//------------------------------------------------------------------------------------------------
19
override
SCR_UIInfo
GetInfo()
20
{
21
return
m_Info
;
22
}
23
24
//------------------------------------------------------------------------------------------------
25
override
Managed GetTarget()
26
{
27
return
m_Target
;
28
}
29
30
//------------------------------------------------------------------------------------------------
34
static
void
SetInfo(Widget widget,
SCR_UIInfo
info, Managed target =
null
)
35
{
36
if
(!widget || !info)
37
return
;
38
39
SCR_LinkTooltipTargetEditorUIComponent
tooltipTarget =
SCR_LinkTooltipTargetEditorUIComponent
.Cast(widget.FindHandler(
SCR_LinkTooltipTargetEditorUIComponent
));
40
if
(!tooltipTarget)
41
return
;
42
43
tooltipTarget.SetInfo(info, target);
44
}
45
};
m_Target
class SCR_AIPolar m_Target
SCR_LinkTooltipTargetEditorUIComponent
Definition:
SCR_LinkTooltipTargetEditorUIComponent.c:3
m_Info
protected ref SCR_HintUIInfo m_Info
Definition:
SCR_BaseHintCondition.c:3
SCR_UIInfo
Definition:
SCR_UIInfo.c:7
SCR_BaseTooltipTargetEditorUIComponent
Definition:
SCR_BaseTooltipTargetEditorUIComponent.c:3
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Editor
UI
Components
Tooltips
Targets
SCR_LinkTooltipTargetEditorUIComponent.c
Generated by
1.8.17