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

◆ CanReleaseAttachment()

override bool CanReleaseAttachment ( EntityAI attachment)
protected

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

2703 {
2704 if (!super.CanReleaseAttachment(attachment))
2705 return false;
2706
2707 ItemBase item = ItemBase.Cast(attachment);
2708 if (IsKindling(item) || IsFuel(item))
2709 {
2710 return !IsBurning();
2711 }
2712
2713 return true;
2714 }
bool IsFuel(ItemBase item)
Returns if item attached to fireplace is fuel.
Определения FireplaceBase.c:1591
bool IsBurning()
Определения FireplaceBase.c:1639
bool IsKindling(ItemBase item)
Returns if item attached to fireplace is kindling.
Определения FireplaceBase.c:1573

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