Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_PrefabTemplateClassCheckPlugin Interface Reference
Inheritance diagram for SCR_PrefabTemplateClassCheckPlugin:

Public Member Functions

override void Run ()
 
override void Configure ()
 

Protected Member Functions

void FindAndPrintDiscrepancies ()
 Finds and prints discrepancies.
 
string GetClassNameFromPrefabFile (ResourceName resourceName)
 Get a class name reading it from the .et file itself Only accepts .et (could theoretically accept .ct)
 
bool ChangeTemplateClass (ResourceName resourceName, string newClassName)
 Replace the provided Prefab's class name in the file Only accepts .et (could theoretically accept .ct)
 
bool ButtonOK ()
 

Protected Attributes

bool m_bFixTemplateClasses
 

Static Protected Attributes

static const int MIN_DESCRIPTION_WIDTH = 110
 

Member Function Documentation

◆ ButtonOK()

bool SCR_PrefabTemplateClassCheckPlugin.ButtonOK ( )
protected

◆ ChangeTemplateClass()

bool SCR_PrefabTemplateClassCheckPlugin.ChangeTemplateClass ( ResourceName resourceName,
string newClassName )
protected

Replace the provided Prefab's class name in the file Only accepts .et (could theoretically accept .ct)

Parameters
[in]resourceNamethe Prefab file
[in]newClassNamethe new class name
Returns
found class name or empty string if not found (file does not exist, could not be opened or read, etc)

◆ Configure()

override void SCR_PrefabTemplateClassCheckPlugin.Configure ( )

◆ FindAndPrintDiscrepancies()

void SCR_PrefabTemplateClassCheckPlugin.FindAndPrintDiscrepancies ( )
protected

Finds and prints discrepancies.

◆ GetClassNameFromPrefabFile()

string SCR_PrefabTemplateClassCheckPlugin.GetClassNameFromPrefabFile ( ResourceName resourceName)
protected

Get a class name reading it from the .et file itself Only accepts .et (could theoretically accept .ct)

Parameters
[in]resourceNamethe Prefab file from which to get the class name
Returns
found class name or empty string if not found (file does not exist, could not be opened or read, etc)

◆ Run()

override void SCR_PrefabTemplateClassCheckPlugin.Run ( )

Member Data Documentation

◆ m_bFixTemplateClasses

bool SCR_PrefabTemplateClassCheckPlugin.m_bFixTemplateClasses
protected

◆ MIN_DESCRIPTION_WIDTH

const int SCR_PrefabTemplateClassCheckPlugin.MIN_DESCRIPTION_WIDTH = 110
staticprotected

The documentation for this interface was generated from the following file: