Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
arrowmanagerbase.c
Go to the documentation of this file.
1
class
ArrowManagerBase
2
{
3
const
int
VERSION
= 1;
4
protected
ref array<EntityAI>
m_Arrows
;
5
6
void
ArrowManagerBase
()
7
{
8
m_Arrows
=
new
array<EntityAI>
();
9
}
10
11
void
AddArrow
(
EntityAI
arrow)
12
{
13
m_Arrows
.Insert(arrow);
14
}
15
16
void
RemoveArrow
(
EntityAI
arrow)
17
{
18
m_Arrows
.RemoveItem(arrow);
19
}
20
21
void
ClearArrows
()
22
{
23
foreach
(
EntityAI
arrow :
m_Arrows
)
24
arrow.DeleteSafe();
25
26
m_Arrows
.Clear();
27
}
28
29
EntityAI
GetArrow
(
int
index)
30
{
31
if
(
m_Arrows
.Count() > index)
32
{
33
return
m_Arrows
.Get(index);
34
}
35
36
return
null;
37
}
38
39
}
ArrowManagerBase
Definition
arrowmanagerbase.c:2
ArrowManagerBase::VERSION
const int VERSION
Definition
arrowmanagerbase.c:3
ArrowManagerBase::m_Arrows
ref array< EntityAI > m_Arrows
Definition
arrowmanagerbase.c:4
ArrowManagerBase::ClearArrows
void ClearArrows()
Definition
arrowmanagerbase.c:21
ArrowManagerBase::RemoveArrow
void RemoveArrow(EntityAI arrow)
Definition
arrowmanagerbase.c:16
ArrowManagerBase::GetArrow
EntityAI GetArrow(int index)
Definition
arrowmanagerbase.c:29
ArrowManagerBase::AddArrow
void AddArrow(EntityAI arrow)
Definition
arrowmanagerbase.c:11
ArrowManagerBase::ArrowManagerBase
void ArrowManagerBase()
Definition
arrowmanagerbase.c:6
EntityAI
Definition
inventoryitem.c:2
array
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
Definition
isboxcollidinggeometryproxyclasses.c:28
Games
Dayz
scripts
4_world
classes
arrowmanager
arrowmanagerbase.c
Generated by
1.17.0