Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_GeneralHintsConfig.c
Go to the documentation of this file.
1 [BaseContainerProps(configRoot: true)]
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 
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 }
SCR_GeneralHintStorage
Definition: SCR_GeneralHintsConfig.c:2
m_aHintEntries
protected ref array< ref SCR_CampaignHintEntry > m_aHintEntries
Definition: SCR_CampaignHintStorage.c:3
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_HintUIInfo
Definition: SCR_HintUIInfo.c:2
SCR_BaseContainerCustomTitleEnum
class SCR_GeneralHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_HintType")
Definition: SCR_GeneralHintsConfig.c:20
type
EDamageType type
Definition: SCR_DestructibleTreeV2.c:32
BaseContainerProps
class SCR_GeneralHintStorage BaseContainerProps()
EHint
EHint
Definition: EHint.c:10