|
inlineprotected |
Energy manager: Returns the maximum amount of energy this device can curently store. If parameter 'reduceMaxEnergyByDamageCoef' is used in the config of this device then the returned value will be reduced by damage.
См. определение в файле ComponentEnergyManager.c строка 1252
Перекрестные ссылки GetEnergyMaxPristine(), GetGame(), m_ReduceMaxEnergyByDamageCoef и Component::m_ThisEntityAI.
Используется в AddEnergy() и SetEnergy0To1().