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

◆ ConditionAttach() [2/2]

bool Edible_Base::ConditionAttach ( EntityAI parent)
inlineprivate

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

24 {
25 //if Barrel_ColorBase
26 if ( parent.IsInherited( Barrel_ColorBase ) )
27 {
28 Barrel_ColorBase barrel = Barrel_ColorBase.Cast( parent );
29
30 if ( barrel.IsOpen() && !barrel.FindAttachmentBySlotName( "Nails" ) && !barrel.FindAttachmentBySlotName( "OakBark" ) && !barrel.FindAttachmentBySlotName( "BirchBark" ) && !barrel.FindAttachmentBySlotName( "Lime" ) && !barrel.FindAttachmentBySlotName( "Disinfectant" ) && !barrel.FindAttachmentBySlotName( "Guts" ) )
31 {
32 return true;
33 }
34 }
35
36 return false;
37 }
override bool IsOpen()
Определения Barrel_ColorBase.c:125

Перекрестные ссылки Barrel_ColorBase::IsOpen().