#include "ObjectTypes.h" namespace OpenRCT2::ObjectManager { const void* GetObjectEntry(ObjectType type, ObjectEntryIndex idx); template const T* GetObjectEntry(ObjectEntryIndex idx) { return reinterpret_cast(GetObjectEntry(T::kObjectType, idx)); } } // namespace OpenRCT2::ObjectManager