| 242 | } |
| 243 | |
| 244 | void* ObjectEntryGetChunk(ObjectType objectType, ObjectEntryIndex index) |
| 245 | { |
| 246 | auto& objectMgr = GetContext()->GetObjectManager(); |
| 247 | auto* object = objectMgr.GetLoadedObject(objectType, index); |
| 248 | if (object != nullptr) |
| 249 | { |
| 250 | return object->GetLegacyData(); |
| 251 | } |
| 252 | return nullptr; |
| 253 | } |
| 254 | |
| 255 | const Object* ObjectEntryGetObject(ObjectType objectType, ObjectEntryIndex index) |
| 256 | { |
no test coverage detected