Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actionplaceobject.c
Go to the documentation of this file.
1
class
ActionPlaceObjectCB
: ActiondeployObjectCB
2
{
3
override
void
CreateActionComponent()
4
{
5
m_ActionData.m_ActionComponent =
new
CAContinuousTime
(
UATimeSpent
.DEFAULT_PLACE);
6
}
7
};
8
9
class
ActionPlaceObject
:
ActionDeployObject
10
{
11
void
ActionPlaceObject
()
12
{
13
m_CallbackClass =
ActionPlaceObjectCB
;
14
m_Text
=
"#place_object"
;
15
}
16
17
override
bool
HasProgress()
18
{
19
return
false
;
20
}
21
22
override
void
MoveEntityToFinalPositionSinglePlayer(
ActionData
action_data,
InventoryLocation
source,
InventoryLocation
destination)
23
{
24
action_data.m_Player.GetDayZPlayerInventory().RedirectToHandEvent(
InventoryMode
.LOCAL, source, destination);
25
}
26
};
ActionDeployObject
PlaceObjectActionReciveData ActionReciveData ActionDeployObject()
Definition:
actiondeployobject.c:9
CAContinuousTime
Definition:
cacontinuoustime.c:1
ActionPlaceObject
Definition:
actionplaceobject.c:9
InventoryLocation
InventoryLocation.
Definition:
inventorylocation.c:27
ActionData
Definition:
actionbase.c:20
InventoryMode
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Definition:
inventory.c:21
UATimeSpent
Definition:
actionconstants.c:26
ActionPlaceObjectCB
Definition:
actionplaceobject.c:1
m_Text
protected string m_Text
Definition:
actionbase.c:49
DAYZ
scripts_v1.24.157551
scripts
world
classes
useractionscomponent
actions
continuous
actionplaceobject.c
Generated by
1.8.17