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

◆ HasEnoughEnergyForRepair()

bool ItemBase::HasEnoughEnergyForRepair ( float pTime)
inlineprotected

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

122 {
123 if (GetGasCanister())
124 {
125 ComponentEnergyManager canisterEM = GetGasCanister().GetCompEM();
126 if (canisterEM)
127 {
128 return canisterEM.GetEnergy() > GetCompEM().GetEnergyUsage() * pTime;
129 }
130 }
131
132 return false;
133 }
float GetEnergy()
Energy manager: Returns the amount of stored energy this device has.
Определения ComponentEnergyManager.c:1214
EntityAI GetGasCanister()
Определения Blowtorch.c:111

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