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

◆ ExceptionCheck()

override bool Construction::ExceptionCheck ( string part_name)
inlineprotected

Exceptions from 'dependent parts' hierarchy are handled here.

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

137 {
138 if (super.ExceptionCheck(part_name))
139 return true;
140
141 //gate hack
142 ConstructionPart part = GetConstructionPart(part_name);
143 if (part.IsGate())
144 {
145 if( GetConstructionPart("wall_base_down").IsBuilt() || GetConstructionPart("wall_base_up").IsBuilt() )
146 return true;
147 }
148 return false;
149 }
ConstructionPart GetConstructionPart()
Определения ActionPartInfo.c:235
void ConstructionPart(string name, string part_name, string main_part_name, int id, bool is_built, bool is_base, bool is_gate, array< string > required_parts)
Определения ConstructionPart.c:531
bool IsBuilt()
Определения ConstructionPart.c:677
bool IsGate()
Определения ConstructionPart.c:278

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