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

◆ CanReleaseAttachment()

override bool CanReleaseAttachment ( EntityAI attachment)
protected

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

2690 {
2691 if (!super.CanReleaseAttachment(attachment))
2692 return false;
2693
2694 ItemBase item = ItemBase.Cast(attachment);
2695 if (IsKindling(item) || IsFuel(item))
2696 {
2697 return !IsBurning();
2698 }
2699
2700 return true;
2701 }
bool IsFuel(ItemBase item)
Returns if item attached to fireplace is fuel.
Определения FireplaceBase.c:1573
bool IsBurning()
Определения FireplaceBase.c:1621
bool IsKindling(ItemBase item)
Returns if item attached to fireplace is kindling.
Определения FireplaceBase.c:1555

Перекрестные ссылки IsBurning(), IsFuel() и IsKindling().