| 390 | } |
| 391 | |
| 392 | ecs::EntitySystemHelpersBase* ScriptExtender::GetECS(ecs::EntityWorld* world) |
| 393 | { |
| 394 | if (world == GetStaticSymbols().GetClientEntityWorld()) { |
| 395 | return &client_.GetEntityHelpers(); |
| 396 | } else if (world == GetStaticSymbols().GetServerEntityWorld()) { |
| 397 | return &server_.GetEntityHelpers(); |
| 398 | } else { |
| 399 | return nullptr; |
| 400 | } |
| 401 | } |
| 402 | |
| 403 | void ScriptExtender::OnCoreLibInit(void * self) |
| 404 | { |
nothing calls this directly
no test coverage detected