75 {
76 #ifdef DIAG_DEVELOPER
77 if (player.GetConstructionActionData().GetFastConstructionMode() == EConstructionDebugModes.INSTANT)
78 return false;
79 #endif
80
81 if ( player.IsPlacingLocal() )
82 return false;
83
84
85 if (player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
86 return false;
87
89 }
bool DismantleCondition(PlayerBase player, ActionTarget target, ItemBase item, bool camera_check)
DayZPlayerConstants
defined in C++