343 {
346
348 string config_base_path = "configfile";
349
352
354 filter_lower.
Split(
" ", filters);
355
357 {
359 string config_path = config_base_path + " " + config_root;
361
362 for (int j = 0; j < variables.Count(); j++)
363 {
364 string variable = variables.Get(j);
365 string variable_lower = variable;
367
368 for (int k = 0; k < filters.Count(); k++)
369 {
370 if (variable_lower.
Contains(filters.Get(k)))
371 {
372 string new_config_path = (config_path + " " + variable).Trim();
374 break;
375 }
376 }
377 }
378 }
379 }
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
class array< Class T > 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.