| 1223 | } |
| 1224 | |
| 1225 | SystemTypeEntry* EntitySystemHelpersBase::GetSystemEntry(ExtSystemType type) |
| 1226 | { |
| 1227 | auto world = GetEntityWorld(); |
| 1228 | if (!world) { |
| 1229 | return nullptr; |
| 1230 | } |
| 1231 | |
| 1232 | auto index = systemIndices_[(unsigned)type]; |
| 1233 | if (index != UndefinedSystem) { |
| 1234 | return &world->Systems.Systems[(unsigned)index]; |
| 1235 | } else { |
| 1236 | return nullptr; |
| 1237 | } |
| 1238 | } |
| 1239 | |
| 1240 | void* EntitySystemHelpersBase::GetRawSystem(ExtSystemType type) |
| 1241 | { |
nothing calls this directly
no test coverage detected