DayZ
1.24
Loading...
Searching...
No Matches
CattleProd.c
Go to the documentation of this file.
1
class
CattleProd
:
ItemBase
2
{
3
protected
int
m_MeleeMode
;
4
protected
int
m_MeleeHeavyMode
;
5
protected
int
m_MeleeSprintMode
;
6
7
void
CattleProd
()
8
{
9
m_MeleeMode
= 0;
10
m_MeleeHeavyMode
= 1;
11
m_MeleeSprintMode
= 2;
12
}
13
14
override
void
OnWorkStart
()
15
{
17
m_MeleeMode
= 3;
18
m_MeleeHeavyMode
= 4;
19
m_MeleeSprintMode
= 5;
20
}
21
22
override
void
OnWorkStop
()
23
{
25
m_MeleeMode
= 0;
26
m_MeleeHeavyMode
= 1;
27
m_MeleeSprintMode
= 2;
28
}
29
30
override
int
GetMeleeMode
()
31
{
32
return
m_MeleeMode
;
33
}
34
35
override
int
GetMeleeHeavyMode
()
36
{
37
return
m_MeleeHeavyMode
;
38
}
39
40
override
int
GetMeleeSprintMode
()
41
{
42
return
m_MeleeSprintMode
;
43
}
44
45
override
void
SetActions
()
46
{
47
super
.SetActions();
48
AddAction
(
ActionTurnOnWhileInHands
);
49
AddAction
(
ActionTurnOffWhileInHands
);
50
}
51
}
AddAction
void AddAction(typename actionName)
Definition
AdvancedCommunication.c:212
ActionTurnOffWhileInHands
Definition
ActionTurnOffWhileInHands.c:2
ActionTurnOnWhileInHands
Definition
ActionTurnOnWhileInHands.c:2
CattleProd
Definition
CattleProd.c:2
CattleProd::OnWorkStop
override void OnWorkStop()
Definition
CattleProd.c:22
CattleProd::CattleProd
void CattleProd()
Definition
CattleProd.c:7
CattleProd::OnWorkStart
override void OnWorkStart()
Definition
CattleProd.c:14
CattleProd::GetMeleeSprintMode
override int GetMeleeSprintMode()
Definition
CattleProd.c:40
CattleProd::GetMeleeHeavyMode
override int GetMeleeHeavyMode()
Definition
CattleProd.c:35
CattleProd::m_MeleeHeavyMode
int m_MeleeHeavyMode
Definition
CattleProd.c:4
CattleProd::SetActions
override void SetActions()
Definition
CattleProd.c:45
CattleProd::m_MeleeMode
int m_MeleeMode
Definition
CattleProd.c:3
CattleProd::GetMeleeMode
override int GetMeleeMode()
Definition
CattleProd.c:30
CattleProd::m_MeleeSprintMode
int m_MeleeSprintMode
Definition
CattleProd.c:5
ItemBase
Definition
InventoryItem.c:697
Param3
Definition
EntityAI.c:95
scripts
4_World
Entities
ItemBase
CattleProd.c
Generated by
1.10.0