16 objectId = m_objectIds[m_nextIndex];
17 if (m_nextIndex - m_length == -1) {
26 objectId = m_objectIds[m_nextIndex];
27 if (m_length > m_nextIndex + 1) {
33 m_nextIndex = rand() % m_length;
34 objectId = m_objectIds[m_nextIndex];
38 objectId = m_objectIds[m_nextIndex];
39 if (m_nextIndex - m_length == -1) {
[AI] Base class for game state blocks which encapsulate serializable and/or resettable aspects of the...
#define DECOMP_SIZE_ASSERT(T, S)
[AI] Playlist structure representing an indexed list of object IDs with next-item selection strategie...
MxBool Contains(MxU32 p_objectId)
[AI] Checks if playlist contains an object ID.
MxS16 m_length
[AI] Number of IDs in the playlist. [AI]
MxU32 * m_objectIds
[AI] Pointer to array of object IDs. Not owned; just used for lookup. [AI]