|
override bool | Evaluate (string fileName, string varName, array< BaseContainer > objects) |
| Check if the string can be localized according to this rule.
|
|
override string | GetID (string fileName, string varName, array< BaseContainer > objects, array< int > indexes) |
| Get intended ID of the string.
|
|
void | LocParserRule_Custom () |
|
string | GetID (string fileName, string varName, array< BaseContainer > objects, array< int > indexes) |
| Get intended ID of the string.
|
|
bool | Evaluate (string fileName, string varName, array< BaseContainer > objects) |
| Check if the string can be localized according to this rule.
|
|
BaseContainer | Localize (string fileName, string varName, array< BaseContainer > objects, string id, string text) |
| Check if the string can be localized according to this rule.
|
|
void | InitRule (notnull LocParserManager config) |
|
◆ LocParserRule_Custom()
void LocParserRule_Custom.LocParserRule_Custom |
( |
| ) |
|
◆ Evaluate()
override bool LocParserRule_Custom.Evaluate |
( |
string |
fileName, |
|
|
string |
varName, |
|
|
array< BaseContainer > |
objects |
|
) |
| |
Check if the string can be localized according to this rule.
To be overloaded by inherited classes.
- Parameters
-
[in] | fileName | Name of the file (without path or extension) in which the string is |
[in] | varName | Name of the variable which holds the string |
[in] | objects | Hierarchy of script classes leading to the string, starting from the bottom-most one |
- Returns
- True if the string can be localized
Implements LocParserRule.
◆ GetID()
override string LocParserRule_Custom.GetID |
( |
string |
fileName, |
|
|
string |
varName, |
|
|
array< BaseContainer > |
objects, |
|
|
array< int > |
indexes |
|
) |
| |
Get intended ID of the string.
To be overloaded by inherited classes.
- Parameters
-
[in] | fileName | Name of the file (without path or extension) in which the string is |
[in] | varName | Name of the variable which holds the string |
[in] | objects | Hierarchy of script classes leading to the string, starting from the bottom-most one |
[out] | index | Item index (when in array) |
- Returns
- Localization ID
Implements LocParserRule.
◆ RemoveExpression()
void LocParserRule_Custom.RemoveExpression |
( |
out string |
text | ) |
|
|
protected |
◆ m_aRemove
ref array<string> LocParserRule_Custom.m_aRemove = {} |
|
protected |
◆ m_aVarName
ref array<string> LocParserRule_Custom.m_aVarName = {} |
|
protected |
◆ m_IdParam1
◆ m_IdParam2
◆ m_IdParam3
◆ m_iParentDepth
int LocParserRule_Custom.m_iParentDepth |
|
protected |
◆ m_iParentType
int LocParserRule_Custom.m_iParentType |
|
protected |
◆ m_sIdFormat
string LocParserRule_Custom.m_sIdFormat |
|
protected |
◆ m_sParentName
string LocParserRule_Custom.m_sParentName |
|
protected |
◆ m_sRemove
string LocParserRule_Custom.m_sRemove |
|
protected |
◆ m_sVarName
string LocParserRule_Custom.m_sVarName |
|
protected |
The documentation for this interface was generated from the following file:
- WorkbenchGame/LocalizationEditor/LocParserRule_Custom.c