| 
    Arma Reforger Script API
    
   | 
 
 Public Member Functions | |
| override void | Run () | 
| array< string > | GetAllEditableScriptFilesAbsolutePaths (notnull array< string > scriptDirectories) | 
| array< ref SCR_ClassRenamingParam > | GetFromToParams () | 
| map< string, string > | GetFromToMap (notnull map< string, string > classFiles) | 
| int | RenameInFiles (notnull array< string > absolutePaths, array< ref SCR_ClassRenamingParam > fromToParams, map< string, string > fromToMap, string progressBarText="Processing %1 files") | 
| Whether the classes exist or not in script, rename them.   | |
| string | GetNewClassNameIfMatch (string className, notnull array< ref SCR_ClassRenamingParam > fromToParams) | 
| int | ButtonRunAll () | 
| int | ButtonRun () | 
| int | ButtonCancel () | 
Protected Member Functions | |
| bool | CheckAndSetParameters () | 
| array< string > | GetAllEditableFilesAbsolutePaths (notnull array< string > directories, string extension) | 
| map< string, string > | GetClassesFromFiles (notnull array< string > absoluteScriptFilePaths) | 
| Get classes from the provided script files.   | |
| array< string > | GetClassesFromFile (string absoluteFilePath) | 
| int | RenameInLines (out notnull array< string > lines, array< ref SCR_ClassRenamingParam > fromToParams, map< string, string > fromToMap) | 
Protected Attributes | |
| bool | m_bOnlyRenameExistingEditableClasses | 
| bool | m_bClassMustStartWithACapitalLetter | 
| bool | m_bProcessScriptFiles | 
| bool | m_bProcessConfigFiles | 
| bool | m_bProcessPrefabFiles | 
| bool | m_bProcessLayerFiles | 
| bool | m_bDemoMode | 
| ref array< ref SCR_ClassRenamingParam > | m_aParameters | 
| ref array< string > | m_aScriptDirectories | 
| ref array< string > | m_aConfigDirectories | 
| ref array< string > | m_aPrefabDirectories | 
| ref array< string > | m_aLayerDirectories | 
| int | m_iMode = -1 | 
| ref map< string, string > | m_mClassesLocation | 
Static Protected Attributes | |
| static const int | THIS_FILE = 0 | 
| static const int | ALL_FILES = 1 | 
| static const int | MODE_PMATCH = 0 | 
| perfect match "SEARCH"   | |
| static const int | MODE_PREFIX = 1 | 
| prefix match "SEARCHothervalue"   | |
| static const int | MODE_SUFFIX = 2 | 
| suffix match "othervalueSEARCH"   | |
| static const int | MODE_MIDDLE = 3 | 
| middle match "otherSEARCHvalue" - MUST have a start AND an end   | |
| static const string | CLASS_CHARS = SCR_StringHelper.LETTERS + SCR_StringHelper.DIGITS + SCR_StringHelper.UNDERSCORE | 
| static const ref array< string > | KEYWORDS | 
| int SCR_ClassRenamingPlugin.ButtonCancel | ( | ) | 
| int SCR_ClassRenamingPlugin.ButtonRun | ( | ) | 
| int SCR_ClassRenamingPlugin.ButtonRunAll | ( | ) | 
      
  | 
  protected | 
      
  | 
  protected | 
| [in] | directories | |
| [in] | extension | without dot, e.g 'conf' | 
| array< string > SCR_ClassRenamingPlugin.GetAllEditableScriptFilesAbsolutePaths | ( | notnull array< string > | scriptDirectories | ) | 
| [in] | scriptDirectories | 
      
  | 
  protected | 
| [in] | absoluteFilePath | the absolute path of the file to scan for classes | 
      
  | 
  protected | 
Get classes from the provided script files.
| [in] | absoluteScriptFilePaths | 
| map< string, string > SCR_ClassRenamingPlugin.GetFromToMap | ( | notnull map< string, string > | classFiles | ) | 
| [in] | classFiles | className->absoluteFilePath map - only class name is used | 
| array< ref SCR_ClassRenamingParam > SCR_ClassRenamingPlugin.GetFromToParams | ( | ) | 
| [in] | classFiles | className->absoluteFilePath map - only class name is used | 
| string SCR_ClassRenamingPlugin.GetNewClassNameIfMatch | ( | string | className, | 
| notnull array< ref SCR_ClassRenamingParam > | fromToParams ) | 
| [in] | className | |
| [in] | fromToParams | 
| int SCR_ClassRenamingPlugin.RenameInFiles | ( | notnull array< string > | absolutePaths, | 
| array< ref SCR_ClassRenamingParam > | fromToParams, | ||
| map< string, string > | fromToMap, | ||
| string | progressBarText = "Processing %1 files" ) | 
Whether the classes exist or not in script, rename them.
| [in] | absolutePaths | |
| [in] | fromToParams | |
| [in] | fromToMap | |
| [in] | progressBarText | 
      
  | 
  protected | 
| [in] | fromToParams | |
| [in] | lines | 
| override void SCR_ClassRenamingPlugin.Run | ( | ) | 
      
  | 
  staticprotected | 
      
  | 
  staticprotected | 
      
  | 
  staticprotected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  staticprotected | 
middle match "otherSEARCHvalue" - MUST have a start AND an end
      
  | 
  staticprotected | 
perfect match "SEARCH"
      
  | 
  staticprotected | 
prefix match "SEARCHothervalue"
      
  | 
  staticprotected | 
suffix match "othervalueSEARCH"
      
  | 
  staticprotected |