Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actiondropitemsimple.c
Go to the documentation of this file.
1
class
ActionDropItemSimple
:
ActionDropItem
2
{
3
void
ActionDropItemSimple
() {}
4
5
override
bool
IsInstant()
6
{
7
return
true
;
8
}
9
10
override
bool
MainItemAlwaysInHands()
11
{
12
return
false
;
13
}
14
15
override
bool
CanBeUsedOnBack()
16
{
17
return
true
;
18
}
19
20
override
void
Start(
ActionData
action_data)
21
{
22
super.Start(action_data);
23
24
#ifndef SERVER
25
ClearInventoryReservationEx
(action_data);
26
PhysicalDropItem(action_data);
27
#endif
28
}
29
30
override
void
PhysicalDropItem(
ActionData
action_data)
31
{
32
action_data.m_Player.PredictiveDropEntity(action_data.m_MainItem);
33
}
34
}
ClearInventoryReservationEx
void ClearInventoryReservationEx(ActionData action_data)
Definition:
actionbase.c:862
ActionData
Definition:
actionbase.c:20
ActionDropItem
void ActionDropItem()
Definition:
actiondropitem.c:14
ActionDropItemSimple
Definition:
actiondropitemsimple.c:1
DAYZ
scripts_v1.24.157551
scripts
world
classes
useractionscomponent
actions
singleuse
actiondropitemsimple.c
Generated by
1.8.17