Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
bleedingsourcezone.c
Go to the documentation of this file.
2 {
3  string m_FireSelectionName;
4  int m_Bit;
5  vector m_EmitterOffset;
6  vector m_EmitterOrientation;
7  string m_Bone;
8  float m_FlowModifier;
9  int m_MaxTime;
10  string m_ParticleName;
11  int m_InventorySlotLocation;
12 
13  void BleedingSourceZone(string selection_name, int bit, vector offset, vector orientation, string bone, int max_time, float flow_modifier, string particle_name)
14  {
15  m_FireSelectionName = selection_name;
16  m_Bit = bit;
17  m_EmitterOffset = offset;
18  m_EmitterOrientation = orientation;
19  m_Bone = bone;
20  m_FlowModifier = flow_modifier;
21  m_MaxTime = max_time;
22  m_ParticleName = particle_name;
23  }
24 
25  //which inv location is associated(is covering) with this bleeding source ?
26  void SetInvLocation(int inv_slot)
27  {
28  m_InventorySlotLocation = inv_slot;
29  }
30 
31  int GetInvLocation()
32  {
33  return m_InventorySlotLocation;
34  }
35 
36  void ~BleedingSourceZone()
37  {
38 
39  }
40 
41  string GetSelectionName()
42  {
43  return m_FireSelectionName;
44  }
45 
46  int GetMaxTime()
47  {
48  return m_MaxTime;
49  }
50 
51  string GetParticleName()
52  {
53  return m_ParticleName;
54  }
55 
56  int GetBit()
57  {
58  return m_Bit;
59  }
60 
61  float GetFlowModifier()
62  {
63  return m_FlowModifier;
64  }
65 
66  vector GetOrientation()
67  {
68  return m_EmitterOrientation;
69  }
70 
71  vector GetOffset()
72  {
73  return m_EmitterOffset;
74  }
75 
76  string GetBoneName()
77  {
78  return m_Bone;
79  }
80 
81 
82 }
m_Bone
string m_Bone
Definition: bleedingsource.c:13
BleedingSourceZone
Definition: bleedingsourcezone.c:1
vector
Definition: enconvert.c:105
m_MaxTime
float m_MaxTime
Definition: bleedingsource.c:22
m_FlowModifier
float m_FlowModifier
Definition: bleedingsource.c:20
m_Bit
int m_Bit
Definition: bleedingsource.c:12
m_ParticleName
string m_ParticleName
Definition: bleedingsource.c:23