STypeID* typeID = TTypeIDHelper<TypeName>::GetTypeID(); ZEntityType** type = action->m_Object.QueryInterfacePtr(typeID); TypeName* item = reinterpret_cast<TypeName*>(type);
Example:
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.