Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
hitdirectionimagesarrow.c
Go to the documentation of this file.
1 
3 {
4  static ref array<string> m_ImagePathsLayouts;
5  static ref array<string> m_ImagePathsImages;
6 
7  static void InitArrays()
8  {
9  if ( !m_ImagePathsLayouts && !m_ImagePathsImages )
10  {
11  m_ImagePathsLayouts = new array<string>;
12  m_ImagePathsImages = new array<string>;
13  }
14  }
15 }
16 
17 class HitDirectionImagesArrow extends HitDirectionImagesBase
18 {
19  override protected void PerformRegisterImages()
20  {
21  HitDirectionImagesArrow_Static.InitArrays();
22 
23  RegisterImage("gui/layouts/gameplay/HitDirectionIndication.layout","Single_indicator_Arrow_0");
24  }
25 
26  override protected ref array<string> GetTypeLayoutPathArray()
27  {
28  return HitDirectionImagesArrow_Static.m_ImagePathsLayouts;
29  }
30 
31  override protected ref array<string> GetTypeImagePathArray()
32  {
33  return HitDirectionImagesArrow_Static.m_ImagePathsImages;
34  }
35 }
GetTypeLayoutPathArray
override protected ref array< string > GetTypeLayoutPathArray()
Definition: hitdirectionimagesarrow.c:26
HitDirectionImagesBase
Definition: hitdirectionimagesbase.c:2
PerformRegisterImages
class HitDirectionImagesArrow_Static PerformRegisterImages()
Definition: hitdirectionimagesarrow.c:19
HitDirectionImagesArrow_Static
Definition: hitdirectionimagesarrow.c:2
array< string >
GetTypeImagePathArray
override protected ref array< string > GetTypeImagePathArray()
Definition: hitdirectionimagesarrow.c:31