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

◆ IsCorrectFertilizer()

bool ItemBase::IsCorrectFertilizer ( ItemBase item,
string selection_component )
inlineprivate

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

474 {
475 Slot slot = GetSlotBySelection( selection_component );
476
477 if ( slot != NULL )
478 {
479 string item_type = item.GetType();
480
481 if ( slot.GetFertilityType() == "" || slot.GetFertilityType() == item_type )
482 {
483 return true;
484 }
485 }
486
487 return false;
488 }
Slot GetSlotBySelection(string selection_component)
Определения GardenBase.c:647

Перекрестные ссылки GetSlotBySelection().