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

◆ HasSparkplug()

bool ItemBase::HasSparkplug ( )
inlineprotected

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

351 {
352 int slot = InventorySlots.GetSlotIdFromString("SparkPlug");
353 EntityAI ent = GetInventory().FindAttachment(slot);
354
355 return ent && !ent.IsRuined();
356 }
class LogManager EntityAI

Перекрестные ссылки InventorySlots::GetSlotIdFromString().