|
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 () |
|
◆ 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] | resourceName | the Prefab file |
[in] | newClassName | the 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] | resourceName | the 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 |
( |
| ) |
|
◆ 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:
- WorkbenchGame/ResourceManager/SCR_PrefabTemplateClassCheckPlugin.c