true atomic EnttWorld

This commit is contained in:
2024-07-23 01:10:20 +02:00
parent 392eaeab83
commit 89d5ad5f54
16 changed files with 61 additions and 35 deletions

View File

@@ -12,7 +12,7 @@ class Server {
* \brief Construct a server
* \pre Two instances of Server should not share the same world
*/
Server(std::uint16_t a_Port, std::shared_ptr<Nz::EnttWorld> a_World);
Server(std::uint16_t a_Port, Nz::EnttWorld& a_World);
~Server();
network::EnetConnection* GetConnection(std::uint16_t a_PeerId);