|
inlineprotected |
Energy manager: Sets stored energy for this device. It ignores the min/max limit!
См. определение в файле ComponentEnergyManager.c строка 525
Перекрестные ссылки GetEnergyUsage(), GetGame(), m_Energy, Component::m_ThisEntityAI, Math::Min() и UpdateCanWork().
Используется в AddEnergy(), SetEnergy0To1() и TransferEntityVariables().