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

◆ GetConstructionPartById()

ConstructionPart ItemBase::GetConstructionPartById ( int id)
inlineprotected

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

335 {
336 Construction construction = GetConstruction();
337 map<string, ref ConstructionPart> construction_parts = construction.GetConstructionParts();
338
339 for ( int i = 0; i < construction_parts.Count(); ++i )
340 {
341 string key = construction_parts.GetKey( i );
342 ConstructionPart value = construction_parts.Get( key );
343
344 if ( value.GetId() == id )
345 {
346 return value;
347 }
348 }
349
350 return NULL;
351 }
void Construction(BaseBuildingBase parent)
Определения Construction.c:26
map
Определения ControlsXboxNew.c:4
int GetId()
Определения ConstructionPart.c:40
Construction GetConstruction()
Определения BaseBuildingBase.c:975

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