Returns config classes containing search_string in name.
439 {
442
443 filtered_classes.Clear();
444
446
447 for ( int s = 0; s < searching_in.Count(); ++s )
448 {
449 string config_path = searching_in.Get(s);
450
452 for (int i = 0; i < objects_count; i++)
453 {
454 string childName;
456
457 if ( only_public )
458 {
460 if ( scope == 0 )
461 {
462 continue;
463 }
464 }
465
466 string nchName = childName;
468
469 if ( nchName.
Contains(search_string) != -1)
470 {
471 filtered_classes.Insert(childName);
472 }
473 }
474 }
475 }
proto bool ConfigGetChildName(string path, int index, out string name)
Get name of subclass in config class on path.
proto native int ConfigGetInt(string path)
Get int value from config on path.
proto native int ConfigGetChildrenCount(string path)
Get count of subclasses in config class on path.
static void GetBaseConfigClasses(out TStringArray base_classes)
Returns some of base config classes strings like CfgVehicles, CfgWeapons, etc. for searching purposes...
proto native CGame GetGame()
array< string > TStringArray
bool Contains(string sample)
Returns true if sample is substring of string.
proto int ToLower()
Changes string to lowercase. Returns length.