DayZ 1.24
Loading...
Searching...
No Matches
ActionPlaceObject.c
Go to the documentation of this file.
1class ActionPlaceObjectCB : ActiondeployObjectCB
2{
3 override void CreateActionComponent()
4 {
5 m_ActionData.m_ActionComponent = new CAContinuousTime(UATimeSpent.DEFAULT_PLACE);
6 }
7};
8
9class ActionPlaceObject: ActionDeployObject
10{
12 {
13 m_CallbackClass = ActionPlaceObjectCB;
14 m_Text = "#place_object";
15 }
16
17 override bool HasProgress()
18 {
19 return false;
20 }
21
23 {
24 action_data.m_Player.GetDayZPlayerInventory().RedirectToHandEvent(InventoryMode.LOCAL, source, destination);
25 }
26};
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Definition Inventory.c:22
string m_Text
Definition ActionBase.c:49
override void CreateActionComponent()
override bool HasProgress()
override void MoveEntityToFinalPositionSinglePlayer(ActionData action_data, InventoryLocation source, InventoryLocation destination)
InventoryLocation.
const float DEFAULT_PLACE