90 {
91 #ifdef DIAG_DEVELOPER
92 if (player.GetConstructionActionData().GetFastConstructionMode() == EConstructionDebugModes.INSTANT)
93 return false;
94 #endif
95
97 if (!Class.CastTo(ent,target.GetObject()))
98 return false;
99
100 if (player.IsPlacingLocal() || player.IsPlacingServer())
101 return false;
102
103
104 if (player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
105 return false;
106
107 if (!ent.CanUseConstruction() || !ent.CanUseConstructionBuild())
108 return false;
109
110 if ((!
GetGame().IsDedicatedServer()))
111 {
113 return false;
114
115 if (MiscGameplayFunctions.ComplexBuildCollideCheckClient(player, target, item,
m_VariantID))
117
118 return false;
119 }
120 return true;
121 }
bool PositioningCheck(PlayerBase player, ActionTarget target)
Can build from the inside only, if applicable.
bool GatherInfoData(PlayerBase player, ActionTarget target, ItemBase item)