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

◆ ExceptionCheck()

bool ExceptionCheck ( string part_name)
protected

Exceptions from 'dependent parts' hierarchy are handled here.

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

158 {
159 //gate hack
160 ConstructionPart part = GetConstructionPart(part_name);
161 if( /*Fence.Cast(m_Parent) && */part.IsGate() )
162 {
163 if( GetConstructionPart("wall_base_down").IsBuilt() || GetConstructionPart("wall_base_up").IsBuilt() )
164 return true;
165 }
166 return false;
167 }
ConstructionPart GetConstructionPart(string part_name)
Определения Construction.c:280
bool IsGate()
Определения ConstructionPart.c:70

Перекрестные ссылки GetConstructionPart() и ConstructionPart::IsGate().

Используется в DestroyConnectedParts().