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

◆ CanReleaseAttachment()

override bool CanReleaseAttachment ( EntityAI attachment)
protected

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

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

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