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

◆ CanReleaseAttachment() [2/2]

override bool FireplaceBase::CanReleaseAttachment ( EntityAI attachment)
inlineprotected

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

165 {
166 if (!super.CanReleaseAttachment(attachment))
167 {
168 return false;
169 }
170
171 ItemBase item = ItemBase.Cast(attachment);
172 if (IsKindling(item) || IsFuel(item))
173 {
174 return !IsBurning();
175 }
176
177 return true;
178 }
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
class GP5GasMask extends MaskBase ItemBase

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