Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
Main Page
Modules
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
dayzplayerimplementvehicle.c
Go to the documentation of this file.
1
class
GearChangeActionCallback
:
HumanCommandActionCallback
2
{
3
// Left for backwards compatibility, but never ever store HumanCommandVehicle in a variable used later
4
HumanCommandVehicle
m_hcv;
5
6
void
SetVehicleCommand(
HumanCommandVehicle
hcv)
7
{
8
//m_hcv = hcv;
9
hcv.SetClutchState(
true
);
10
}
11
12
//Command events
13
override
void
OnFinish(
bool
pCanceled)
14
{
15
Human owner =
GetHuman
();
16
if
(owner)
17
{
18
HumanCommandVehicle
hcv = owner.GetCommand_Vehicle();
19
if
(hcv)
20
{
21
hcv.SetClutchState(
false
);
22
}
23
}
24
}
25
};
26
GearChangeActionCallback
Definition:
dayzplayerimplementvehicle.c:1
HumanCommandActionCallback
Definition:
statecb.c:1
HumanCommandVehicle
Definition:
human.c:689
GetHuman
proto native Human GetHuman()
get the human this cb belongs to
DAYZ
scripts_v1.24.157551
scripts
world
entities
dayzplayerimplementvehicle.c
Generated by
1.8.17