33 if (!
GetGame().IsDedicatedServer())
35 if (
player.IsPlacingLocal())
37 if (!
player.GetHologramLocal().IsColliding())
39 if (
item.CanBePlaced(
player,
player.GetHologramLocal().GetProjectionEntity().GetPosition()))
52 if (
GetGame().IsDedicatedServer())
59 if (!
action_data.m_Player.GetHologramServer().IsColliding())
78 if (!
GetGame().IsDedicatedServer())
80 player.GetHologramLocal().SetUpdatePosition(
false);
169 poActionData.m_Player.GetActionManager().RequestEndAction();
171 action_data.m_Player.GetHologramLocal().SetUpdatePosition(
true);
219 if (!
GetGame().IsDedicatedServer())
222 ActiondeployObjectCB.Cast(
action_data.m_Callback).DropDuringPlacing();
277 if (
item.IsDeployable())
279 if (
item.IsHeavyBehaviour())
281 else if (
item.IsOneHandedBehaviour())
283 else if (
item.IsTwoHandedBehaviour())
290 if (
item.IsHeavyBehaviour())
292 else if (
item.IsOneHandedBehaviour())
294 else if (
item.IsTwoHandedBehaviour())
override void OnStartAnimationLoop(ActionData action_data)
override void OnFinishProgressClient(ActionData action_data)
void OnEndServer(ActionData action_data)
void OnStartClient(ActionData action_data)
bool CanBeUsedWithBrokenLegs()
void OnStartServer(ActionData action_data)
bool SetupAction(PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data=NULL)
bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
bool ActionConditionContinue(ActionData action_data)
void HandleReciveData(ActionReciveData action_recive_data, ActionData action_data)
bool IsDeploymentAction()
Is an action directly related to deployment/advanced placing.
void OnEndClient(ActionData action_data)
override bool HasAlternativeInterrupt()
void DropDuringPlacing()
DEPRECATED.
PlaceObjectActionReciveData ActionReciveData ActionDeployObject()
void SetupAnimation(ItemBase item)
override void OnExecuteServer(ActionData action_data)
void ReadFromContext(ParamsReadContext ctx)
void WriteToContext(ParamsWriteContext ctx)
InventoryLocationType
types of Inventory Location
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Serialization general interface. Serializer API works with:
DayZPlayerConstants
defined in C++
proto native CGame GetGame()