Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
LocParserRule.c
Go to the documentation of this file.
1
5{
6 [Attribute(desc: "Newly created string table item will be created based on this template.\nSome variables will be overridden to reflect contextual data, e.g., ID or author.")]
8
10
11 //------------------------------------------------------------------------------------------------
19 string GetID(string fileName, string varName, array<BaseContainer> objects, array<int> indexes)
20 {
21 return string.Empty;
22 }
23
24 //------------------------------------------------------------------------------------------------
31 bool Evaluate(string fileName, string varName, array<BaseContainer> objects)
32 {
33 return false;
34 }
35
36 //------------------------------------------------------------------------------------------------
45 BaseContainer Localize(string fileName, string varName, array<BaseContainer> objects, string id, string text)
46 {
47 return m_Config.UpdateItem(id, text);
48 }
49
50 //------------------------------------------------------------------------------------------------
53 void InitRule(notnull LocParserManager config)
54 {
55 m_Config = config;
56 }
57}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Custom string table item for the game.
BaseContainer Localize(string fileName, string varName, array< BaseContainer > objects, string id, string text)
LocParserManager m_Config
bool Evaluate(string fileName, string varName, array< BaseContainer > objects)
void InitRule(notnull LocParserManager config)
string GetID(string fileName, string varName, array< BaseContainer > objects, array< int > indexes)
ref CustomStringTableItem m_ItemTemplate
SCR_FieldOfViewSettings Attribute