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

◆ DestroyConnectedParts()

void DestroyConnectedParts ( string part_name)
protected

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

142 {
143 array<string> parts;// = new array<string>;
144 parts = GetValidDepenentPartsArray(part_name);
145 if (parts)
146 {
147 for (int i = 0; i < parts.Count(); i++)
148 {
149 if (LogManager.IsBaseBuildingLogEnable()) bsbDebugPrint("[bsb] Construction DestroyConnectedParts | " + parts.Get(i));
150 if (!ExceptionCheck(parts.Get(i)))
151 DestroyPartServer(null,parts.Get(i),AT_DESTROY_PART,true);
152 }
153 }
154 }
const int AT_DESTROY_PART
Определения _constants.c:8
class BaseBuildingBase extends ItemBase bsbDebugPrint(string s)
Определения BaseBuildingBase.c:1292
void DestroyPartServer(Man player, string part_name, int action_id, bool destroyed_by_connected_part=false)
Определения Construction.c:121
array< string > GetValidDepenentPartsArray(string part_name, array< string > recurs=null)
Определения Construction.c:499
bool ExceptionCheck(string part_name)
Exceptions from 'dependent parts' hierarchy are handled here.
Определения Construction.c:157
static bool IsBaseBuildingLogEnable()
Определения Debug.c:698
Определения Debug.c:594
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

Перекрестные ссылки AT_DESTROY_PART, bsbDebugPrint(), DestroyPartServer(), ExceptionCheck(), GetValidDepenentPartsArray() и LogManager::IsBaseBuildingLogEnable().