Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_DestructionMultiPhaseData.c
Go to the documentation of this file.
2 {
4  int m_iNextFreeIndex = -1;
5  protected int m_iDamagePhase = 0;
6  protected int m_iTargetDamagePhase = 0;
7  protected ResourceName m_OriginalResourceName;
8 
9  //------------------------------------------------------------------------------------------------
11  int GetTargetDamagePhase()
12  {
13  return m_iTargetDamagePhase;
14  }
15 
16  //------------------------------------------------------------------------------------------------
18  void SetTargetDamagePhase(int targetDamagePhase)
19  {
20  m_iTargetDamagePhase = targetDamagePhase;
21  }
22 
23  //------------------------------------------------------------------------------------------------
25  ResourceName GetOriginalResourceName()
26  {
27  return m_OriginalResourceName;
28  }
29 
30  //------------------------------------------------------------------------------------------------
32  void SetOriginalResourceName(ResourceName originalResourceName)
33  {
34  m_OriginalResourceName = originalResourceName;
35  }
36 
37  //------------------------------------------------------------------------------------------------
39  int GetDamagePhase()
40  {
41  return m_iDamagePhase;
42  }
43 
44  //------------------------------------------------------------------------------------------------
46  void SetDamagePhase(int damagePhase)
47  {
48  m_iDamagePhase = damagePhase;
49  }
50 
51  //------------------------------------------------------------------------------------------------
53  void Reset()
54  {
55  m_iDamagePhase = 0;
56  m_iTargetDamagePhase = 0;
57  m_OriginalResourceName = string.Empty;
58  }
59 }
SCR_DestructionMultiPhaseData
Definition: SCR_DestructionMultiPhaseData.c:1