341 {
344
346 string config_base_path = "configfile";
347
350
352 filter_lower.
Split(
" ", filters);
353
355 {
357 string config_path = config_base_path + " " + config_root;
359
360 for (int j = 0; j < variables.Count(); j++)
361 {
362 string variable = variables.Get(j);
363 string variable_lower = variable;
365
366 for (int k = 0; k < filters.Count(); k++)
367 {
368 if (variable_lower.
Contains(filters.Get(k)))
369 {
370 string new_config_path = (config_path + " " + variable).Trim();
372 break;
373 }
374 }
375 }
376 }
377 }
class OptionSelectorMultistate extends OptionSelector class_name
Param6< bool, string, int, string, int, string > ConfigParamsEx
TextListboxWidget m_ConfigVariablesTextListbox
TextListboxWidget m_ConfigHierarchyTextListbox
PluginConfigViewer m_ModuleConfigViewer
ref TStringArray m_BaseConfigClassesToggled
array< string > TStringArray
bool Contains(string sample)
Returns true if sample is substring of string.
void Split(string sample, out array< string > output)
Splits string into array of strings separated by 'sample'.
proto int ToLower()
Changes string to lowercase. Returns length.