324 {
327
328 for ( int i = 0; i < construction_parts.Count(); ++i )
329 {
330 string key = construction_parts.GetKey( i );
332
333 if ( value.
GetId() ==
id )
334 {
335 return value;
336 }
337 }
338
339 return NULL;
340 }
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)
Construction GetConstruction()