Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
hitdirectionimagesspike.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 HitDirectionImagesSpike extends HitDirectionImagesBase
18 {
19  override protected void PerformRegisterImages()
20  {
21  HitDirectionImagesSpike_Static.InitArrays();
22 
23  RegisterImage("gui/layouts/gameplay/HitDirectionIndication.layout","Single_indicator_Spike_0");
24  }
25 
26  override protected ref array<string> GetTypeLayoutPathArray()
27  {
28  return HitDirectionImagesSpike_Static.m_ImagePathsLayouts;
29  }
30 
31  override protected ref array<string> GetTypeImagePathArray()
32  {
33  return HitDirectionImagesSpike_Static.m_ImagePathsImages;
34  }
35 }
GetTypeImagePathArray
override protected ref array< string > GetTypeImagePathArray()
Definition: hitdirectionimagesspike.c:31
HitDirectionImagesBase
Definition: hitdirectionimagesbase.c:2
PerformRegisterImages
class HitDirectionImagesSpike_Static PerformRegisterImages()
Definition: hitdirectionimagesspike.c:19
GetTypeLayoutPathArray
override protected ref array< string > GetTypeLayoutPathArray()
Definition: hitdirectionimagesspike.c:26
array< string >
HitDirectionImagesSpike_Static
Definition: hitdirectionimagesspike.c:2