|
resonance 1.0.1
|
Registry of script call templates by integer identifier. More...
#include <scripttemplatemap.h>
Public Member Functions | |
| void | Add (int nTemplate, const HxStr &text) |
| Register a template, retaining any template already registered under the identifier. | |
| HxStr | Find (int nTemplate) |
| Look a template up. | |
Registry of script call templates by integer identifier.
The class emits no RTTI and the image records no name for it, so the name is inferred from the one instance, g_scriptTemplates, and what RegisterScriptCallTemplates() stores there. Its unit (static initialiser 0x005a57c8) holds the instance, the two members below, and the std::map<int, HxStr> instantiations they reach, which bill their nodes to stl_maptree. The member is the whole object: the constructor at 0x005a4e70 and the destructor at 0x005a4ff8 build and tear down nothing but the map, and both are compiler-generated.
| void ScriptTemplateMap::Add | ( | int | nTemplate, |
| const HxStr & | text ) |
Register a template, retaining any template already registered under the identifier.
| nTemplate | The identifier. |
| text | The template text. |
| HxStr ScriptTemplateMap::Find | ( | int | nTemplate | ) |
Look a template up.
| nTemplate | The identifier. |