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_GeneralHintsConfig.c
Go to the documentation of this file.
1
[
BaseContainerProps
(configRoot:
true
)]
2
class
SCR_GeneralHintStorage
3
{
4
[
Attribute
()]
5
protected
ref array<ref SCR_HintEntry>
m_aHintEntries
;
6
7
//------------------------------------------------------------------------------------------------
8
SCR_HintUIInfo
GetHintByType
(
EHint
type
)
9
{
10
foreach
(SCR_HintEntry hintEntry :
m_aHintEntries
)
11
{
12
if
(hintEntry.GetHintType() ==
type
)
13
return
hintEntry.GetHintInfo();
14
}
15
16
return
null;
17
}
18
}
19
20
[
BaseContainerProps
(),
SCR_BaseContainerCustomTitleEnum
(
EHint
,
"m_HintType"
)]
21
class
SCR_HintEntry
22
{
23
[
Attribute
()]
24
protected
ref
SCR_HintUIInfo
m_HintInfo;
25
26
//------------------------------------------------------------------------------------------------
27
EHint
GetHintType()
28
{
29
return
m_HintInfo.GetType();
30
}
31
32
//------------------------------------------------------------------------------------------------
33
SCR_HintUIInfo
GetHintInfo()
34
{
35
return
m_HintInfo;
36
}
37
}
EHint
EHint
Definition
EHint.c:11
type
EDamageType type
Definition
SCR_DestructibleTreeV2.c:32
BaseContainerProps
class SCR_GeneralHintStorage BaseContainerProps()
SCR_BaseContainerCustomTitleEnum
class SCR_GeneralHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_HintType")
Definition
SCR_GeneralHintsConfig.c:20
SCR_GeneralHintStorage
Definition
SCR_GeneralHintsConfig.c:3
SCR_GeneralHintStorage::GetHintByType
SCR_HintUIInfo GetHintByType(EHint type)
Definition
SCR_GeneralHintsConfig.c:8
SCR_GeneralHintStorage::m_aHintEntries
ref array< ref SCR_HintEntry > m_aHintEntries
Definition
SCR_GeneralHintsConfig.c:5
SCR_HintUIInfo
Definition
SCR_HintUIInfo.c:3
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Components
Hints
SCR_GeneralHintsConfig.c
Generated by
1.17.0