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

◆ HasSparkplug()

bool ItemBase::HasSparkplug ( )
inlineprotected

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

366 {
367 int slot = InventorySlots.GetSlotIdFromString("SparkPlug");
368 EntityAI ent = GetInventory().FindAttachment(slot);
369
370 return ent && !ent.IsRuined();
371 }
class LogManager EntityAI

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