5109 {
5110 float totalWeight = super.GetWeightSpecialized(forceRecalc);
5111
5113 if (itemHands)
5114 {
5115 totalWeight += itemHands.GetWeightEx(forceRecalc);
5116 }
5117 #ifdef DEVELOPER
5118 if (WeightDebug.m_VerbosityFlags & WeightDebugType.RECALC_FORCED)
5119 {
5120 float itemInHandsWeight = totalWeight - super.GetWeightSpecialized(forceRecalc);
5121 WeightDebugData dta = WeightDebug.GetWeightDebug(this);
5122 dta.
SetCalcDetails(
"TMan: " + (super.GetWeightSpecialized(forceRecalc)+ itemInHandsWeight) +
"(contents weight[includes item in hands])");
5123 }
5124 #endif
5125 return totalWeight;
5126 }
class GP5GasMask extends MaskBase ItemBase
ItemBase GetItemInHands()
void SetCalcDetails(string details)