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

◆ GetConstructionPartById()

ConstructionPart ItemBase::GetConstructionPartById ( int id)
inlineprotected

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

311 {
312 Construction construction = GetConstruction();
313 map<string, ref ConstructionPart> construction_parts = construction.GetConstructionParts();
314
315 for ( int i = 0; i < construction_parts.Count(); ++i )
316 {
317 string key = construction_parts.GetKey( i );
318 ConstructionPart value = construction_parts.Get( key );
319
320 if ( value.GetId() == id )
321 {
322 return value;
323 }
324 }
325
326 return NULL;
327 }
void Construction(BaseBuildingBase parent)
Определения Construction.c:26
map
Определения ControlsXboxNew.c:4
int GetId()
Определения ConstructionPart.c:40
Construction GetConstruction()
Определения BaseBuildingBase.c:955

Перекрестные ссылки Construction(), GetConstruction() и ConstructionPart::GetId().