Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_GeneralHintsConfig.c
Go to the documentation of this file.
1[BaseContainerProps(configRoot: true)]
3{
5 protected ref array<ref SCR_HintEntry> m_aHintEntries;
6
7 //------------------------------------------------------------------------------------------------
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
21class 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
Definition EHint.c:11
EDamageType type
class SCR_GeneralHintStorage BaseContainerProps()
class SCR_GeneralHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_HintType")
SCR_HintUIInfo GetHintByType(EHint type)
ref array< ref SCR_HintEntry > m_aHintEntries
SCR_FieldOfViewSettings Attribute