DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ HasEnoughEnergyForRepair()

bool ItemBase::HasEnoughEnergyForRepair ( float pTime)
inlineprotected

См. определение в файле Blowtorch.c строка 128

129 {
130 if (GetGasCanister())
131 {
132 ComponentEnergyManager canisterEM = GetGasCanister().GetCompEM();
133 if (canisterEM)
134 {
135 return canisterEM.GetEnergy() > GetCompEM().GetEnergyUsage() * pTime;
136 }
137 }
138
139 return false;
140 }
float GetEnergy()
Energy manager: Returns the amount of stored energy this device has.
Определения ComponentEnergyManager.c:1246
EntityAI GetGasCanister()
Определения Blowtorch.c:118

Перекрестные ссылки ComponentEnergyManager::GetEnergy() и GetGasCanister().