| 278 | } |
| 279 | |
| 280 | void* EntityStorageData::GetComponent(EntityHandle entityHandle, ComponentTypeIndex type, std::size_t componentSize, bool isProxy) const |
| 281 | { |
| 282 | auto ref = InstanceToPageMap.try_get(entityHandle); |
| 283 | if (ref) { |
| 284 | return GetComponent(*ref, type, componentSize, isProxy); |
| 285 | } else { |
| 286 | return nullptr; |
| 287 | } |
| 288 | } |
| 289 | |
| 290 | void* EntityStorageData::GetOneFrameComponent(EntityHandle entityHandle, ComponentTypeIndex type) const |
| 291 | { |
no test coverage detected