Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseHUDComponent.c
Go to the documentation of this file.
4
5class SCR_BaseHUDComponent : BaseHUDComponent
6{
7 protected ref array<SCR_InfoDisplay> m_aHUDElements = new array<SCR_InfoDisplay>;
8 void RegisterHUDElement(SCR_InfoDisplay element)
9 {
10 int i = m_aHUDElements.Find(element);
11 if (i == -1)
12 m_aHUDElements.Insert(element);
13 }
14
15 void UnregisterHUDElement(SCR_InfoDisplay element)
16 {
17 int i = m_aHUDElements.Find(element);
18 if (i > -1)
19 m_aHUDElements.Remove(i);
20 }
21
22 array<SCR_InfoDisplay> GetHUDElements()
23 {
24 return m_aHUDElements;
25 }
26};
ref array< SCR_InfoDisplay > m_aHUDElements
array< SCR_InfoDisplay > GetHUDElements()
void RegisterHUDElement(SCR_InfoDisplay element)
void UnregisterHUDElement(SCR_InfoDisplay element)