static ZHM5ActionManager* actionManager = reinterpret_cast<ZHM5ActionManager*>(Globals::g_pHM5ActionManagerSingleton); TSListIterator<SActionTreeEntry> iterator; TSListIterator<SActionTreeEntry>* ptr; for (ptr = pThis->m_Actions.Begin(&iterator); ptr != pThis->m_Actions.End(&iterator); ptr++) { ZHM5Action* action = ptr->m_pCurrent->m_pNodeAction; if (action->m_eActionType == EActionType::AT_PICKUP) { STypeID* typeID = TTypeIDHelper<IHM5Item>::GetTypeID(); ZEntityType** type = action->m_Object.QueryInterfacePtr(typeID); IHM5Item* item = reinterpret_cast<IHM5Item*>(type); } }
There was an error while loading. Please reload this page.