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

◆ CanDisplayAttachmentCategory() [2/2]

override bool FireplaceBase::CanDisplayAttachmentCategory ( string category_name)
inlineprotected

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

436 {
437 if ( !super.CanDisplayAttachmentCategory( category_name ) )
438 return false;
439
440 if ( IsOven() )
441 {
442 if ( category_name == "CookingEquipment" )
443 return false;
444 if ( ( category_name == "DirectCooking" ) || ( category_name == "Smoking" ) )
445 return true;
446 }
447 else
448 {
449 if ( category_name == "CookingEquipment" )
450 return true;
451 if ( ( category_name == "DirectCooking" ) || ( category_name == "Smoking" ) )
452 return false;
453 }
454 return true;
455 }
bool IsOven()
Определения FireplaceBase.c:1669

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