Symbol
Revision as of 20:24, 15 April 2022 by Ihatecompvir (talk | contribs) (Created page with "An object used internally by the Milo engine to represent some text. Symbols are loaded into a symbol table dynamically as they are created and are guaranteed to not be freed or have their memory address changed, and as such are reusable. They support localization for when they need to be displayed in UI. Many functions take Symbols and will not function correctly if a regular <code>char *</code> is passed in. ==Structure== The Symbol structure is universal and is the...")
An object used internally by the Milo engine to represent some text. Symbols are loaded into a symbol table dynamically as they are created and are guaranteed to not be freed or have their memory address changed, and as such are reusable. They support localization for when they need to be displayed in UI. Many functions take Symbols and will not function correctly if a regular char *
is passed in.
Structure
The Symbol structure is universal and is the same in every game.
Name | Type | Size | Function |
---|---|---|---|
mStr | char * | 4 bytes | The text for the Symbol. |