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

◆ CanDisplayAttachmentCategory() [2/2]

override bool FireplaceBase::CanDisplayAttachmentCategory ( string category_name)
inlineprotected

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

417 {
418 if ( !super.CanDisplayAttachmentCategory( category_name ) )
419 return false;
420
421 if ( IsOven() )
422 {
423 if ( category_name == "CookingEquipment" )
424 return false;
425 if ( ( category_name == "DirectCooking" ) || ( category_name == "Smoking" ) )
426 return true;
427 }
428 else
429 {
430 if ( category_name == "CookingEquipment" )
431 return true;
432 if ( ( category_name == "DirectCooking" ) || ( category_name == "Smoking" ) )
433 return false;
434 }
435 return true;
436 }
bool IsOven()
Определения FireplaceBase.c:1643

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