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_SequenceHintCondition.c
Go to the documentation of this file.
1
[
BaseContainerProps
(), SCR_BaseContainerHintCondition()]
2
class
SCR_SequenceHintCondition
:
SCR_BaseHintCondition
3
{
4
[
Attribute
(
"0"
,
UIWidgets
.SearchComboBox,
""
, enums: ParamEnumArray.FromEnum(
EHint
))]
5
protected
EHint
m_Type
;
6
7
//------------------------------------------------------------------------------------------------
8
protected
void
OnHintHide
(
SCR_HintUIInfo
info,
bool
isSilent)
9
{
10
if
(info && info.
GetType
() ==
m_Type
)
11
Activate
();
12
}
13
14
//------------------------------------------------------------------------------------------------
15
override
protected
void
OnInitCondition
(Managed owner)
16
{
17
SCR_HintManagerComponent hintManager = SCR_HintManagerComponent.GetInstance();
18
if
(hintManager)
19
hintManager.GetOnHintHide().Insert(
OnHintHide
);
20
}
21
22
//------------------------------------------------------------------------------------------------
23
override
protected
void
OnExitCondition
(Managed owner)
24
{
25
SCR_HintManagerComponent hintManager = SCR_HintManagerComponent.GetInstance();
26
if
(hintManager)
27
hintManager.GetOnHintHide().Remove(
OnHintHide
);
28
}
29
}
EHint
EHint
Definition
EHint.c:11
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_BaseHintCondition::Activate
void Activate()
Definition
SCR_BaseHintCondition.c:11
SCR_BaseHintCondition::SCR_BaseHintCondition
void SCR_BaseHintCondition()
Definition
SCR_BaseHintCondition.c:77
SCR_HintUIInfo
Definition
SCR_HintUIInfo.c:3
SCR_HintUIInfo::GetType
EHint GetType()
Definition
SCR_HintUIInfo.c:72
SCR_SequenceHintCondition
Definition
SCR_SequenceHintCondition.c:3
SCR_SequenceHintCondition::m_Type
EHint m_Type
Definition
SCR_SequenceHintCondition.c:5
SCR_SequenceHintCondition::OnHintHide
void OnHintHide(SCR_HintUIInfo info, bool isSilent)
Definition
SCR_SequenceHintCondition.c:8
SCR_SequenceHintCondition::OnInitCondition
void OnInitCondition(Managed owner)
Definition
SCR_SequenceHintCondition.c:15
SCR_SequenceHintCondition::OnExitCondition
void OnExitCondition(Managed owner)
Definition
SCR_SequenceHintCondition.c:23
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Components
Hints
HintConditions
SCR_SequenceHintCondition.c
Generated by
1.17.0