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

◆ CanReleaseAttachment()

override bool CanReleaseAttachment ( EntityAI attachment)
protected

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

2673 {
2674 if (!super.CanReleaseAttachment(attachment))
2675 return false;
2676
2677 ItemBase item = ItemBase.Cast(attachment);
2678 if (IsKindling(item) || IsFuel(item))
2679 {
2680 return !IsBurning();
2681 }
2682
2683 return true;
2684 }
bool IsFuel(ItemBase item)
Returns if item attached to fireplace is fuel.
Определения FireplaceBase.c:1571
bool IsBurning()
Определения FireplaceBase.c:1619
bool IsKindling(ItemBase item)
Returns if item attached to fireplace is kindling.
Определения FireplaceBase.c:1553
Определения InventoryItem.c:731

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