| 40 | } |
| 41 | |
| 42 | void TestUniverse::warpPlayer(WorldId worldId) { |
| 43 | m_client->warpPlayer(WarpToWorld(worldId), true); |
| 44 | while (m_mainPlayer->isTeleporting() || m_client->playerWorld().empty()) { |
| 45 | m_client->update(0.016f); |
| 46 | Thread::sleep(16); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | WorldId TestUniverse::currentPlayerWorld() const { |
| 51 | return m_client->clientContext()->playerWorldId(); |
no test coverage detected