MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / CStringTable

Class CStringTable

ogsr_engine/xrGame/string_table.h:19–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17};
18
19class CStringTable
20{
21public:
22 CStringTable();
23
24 static void Destroy();
25
26 STRING_VALUE translate(const STRING_ID& str_id) const;
27
28 void ReloadLanguage();
29 void SetLanguage();
30
31 static void ReparseKeyBindings();
32 static shared_str GetLanguage();
33
34 static BOOL WriteErrorsToLog;
35
36private:
37 void Init();
38 void Load(LPCSTR xml_file);
39
40 static STRING_VALUE ParseLine(LPCSTR str, LPCSTR key, bool bFirst);
41 static STRING_TABLE_DATA* pData;
42};

Callers 15

GetBriefInfoMethod · 0.85
RenderUIMethod · 0.85
translate_stringFunction · 0.85
LoadMethod · 0.85
shedule_UpdateMethod · 0.85
IR_OnKeyboardPressMethod · 0.85
LoadMethod · 0.85
ReloadNamesMethod · 0.85
RenderMethod · 0.85
ActivateMethod · 0.85
NameMethod · 0.85
set_item_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected