| 1238 | } |
| 1239 | |
| 1240 | void* EntitySystemHelpersBase::GetRawSystem(ExtSystemType type) |
| 1241 | { |
| 1242 | auto world = GetEntityWorld(); |
| 1243 | if (!world) { |
| 1244 | return nullptr; |
| 1245 | } |
| 1246 | |
| 1247 | auto index = systemIndices_[(unsigned)type]; |
| 1248 | if (index != UndefinedSystem) { |
| 1249 | return world->Systems.Systems[(unsigned)index].System; |
| 1250 | } else { |
| 1251 | return nullptr; |
| 1252 | } |
| 1253 | } |
| 1254 | |
| 1255 | void EntitySystemHelpersBase::Update() |
| 1256 | { |
nothing calls this directly
no test coverage detected