Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CampaignHintStorage.c
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------------
2[BaseContainerProps(configRoot: true)]
5 [Attribute()]
6 protected ref array<ref SCR_CampaignHintEntry> m_aHintEntries;
7
8 //------------------------------------------------------------------------------------------------
10 {
11 foreach (SCR_CampaignHintEntry hintEntry : m_aHintEntries)
12 {
13 if (hintEntry.GetHintId() == id)
14 return hintEntry.GetHintInfo();
15 }
16
17 return null;
18 }
19}
20
21//------------------------------------------------------------------------------------------------
23class SCR_CampaignHintEntry
24{
25 [Attribute(uiwidget: UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(EHint))]
26 protected EHint m_eHintId;
27
28 [Attribute()]
29 protected ref SCR_HintUIInfo m_HintInfo;
30
31 //------------------------------------------------------------------------------------------------
32 EHint GetHintId()
33 {
34 return m_eHintId;
35 }
36
37 //------------------------------------------------------------------------------------------------
38 SCR_HintUIInfo GetHintInfo()
39 {
40 return m_HintInfo;
41 }
42}
EHint
Definition EHint.c:11
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
class SCR_CampaignHintStorage BaseContainerProps()
ref array< ref SCR_CampaignHintEntry > m_aHintEntries
SCR_HintUIInfo GetHintByEnum(EHint id)
SCR_FieldOfViewSettings Attribute