| 116 | } |
| 117 | |
| 118 | ComponentTypeEntry const* ComponentRegistry::Get(ComponentTypeIndex index) const |
| 119 | { |
| 120 | auto idx = (uint32_t)SparseHashMapHash(index); |
| 121 | if (Bitmask[idx]) { |
| 122 | return &Types[idx]; |
| 123 | } else { |
| 124 | return nullptr; |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | ComponentCallbacks* ComponentCallbackRegistry::Get(ComponentTypeIndex index) |
| 129 | { |
no test coverage detected