|
Isle
|
[AI] Associates a world enum, key, and AtomId for dynamic world lookup, Atom-based registry, and key-string identification. More...
#include <legomain.h>

Public Member Functions | |
| WorldContainer () | |
| [AI] Default constructor. More... | |
| WorldContainer (World p_id, const char *p_key, MxAtomId *p_atomId) | |
| [AI] Construct a WorldContainer from enum id, string key, and AtomId pointer. More... | |
| WorldContainer & | operator= (const WorldContainer &p_container) |
| [AI] Copy assignment operator. More... | |
| World | GetId () |
| [AI] Returns world identifier. More... | |
| const char * | GetKey () |
| [AI] Returns world string key. More... | |
Public Attributes | |
| World | m_id |
| [AI] World enum identifier. More... | |
| char | m_key [20] |
| [AI] String key for this world (used for script/world lookup). More... | |
| MxAtomId * | m_atomId |
| [AI] AtomId pointer for this world's script. More... | |
[AI] Associates a world enum, key, and AtomId for dynamic world lookup, Atom-based registry, and key-string identification.
[AI]
[AI] Used internally in LegoOmni as a world table for fast world script and Atom lookup by enum, string, or AtomId. [AI]
Definition at line 85 of file legomain.h.
|
inline |
[AI] Default constructor.
Sets world to undefined and AtomId to NULL.
Definition at line 89 of file legomain.h.
|
inline |
[AI] Construct a WorldContainer from enum id, string key, and AtomId pointer.
| p_id | [AI] World enum identifier for this container. |
| p_key | [AI] String key associated with the world (e.g. "ACT1"). |
| p_atomId | [AI] AtomId pointer for script identification. |
Definition at line 101 of file legomain.h.
|
inline |
[AI] Returns world identifier.
Definition at line 129 of file legomain.h.
|
inline |
[AI] Returns world string key.
Definition at line 135 of file legomain.h.
|
inline |
[AI] Copy assignment operator.
| p_container | [AI] Container to copy from. |
Definition at line 117 of file legomain.h.
| MxAtomId* LegoOmni::WorldContainer::m_atomId |
[AI] AtomId pointer for this world's script.
Definition at line 139 of file legomain.h.
| World LegoOmni::WorldContainer::m_id |
[AI] World enum identifier.
Definition at line 137 of file legomain.h.
| char LegoOmni::WorldContainer::m_key[20] |
[AI] String key for this world (used for script/world lookup).
Definition at line 138 of file legomain.h.