#pragma once #include "world/Universe.hpp" #include "world/actions.hpp" #include "geometry/Faces.hpp" /// Link between world::server::SharedUniverse and world::client::LocalUniverse struct server_handle { bool running = false; const world::client::area_map *areas; const data::generational::vector *entities; std::function &pos, const chunk_pos &offset, const world::ChunkContainer &data, geometry::Faces neighbors)> onUpdate; std::function emit; std::function raycast; std::optional teleport; std::optional message; bool entityChange = false; };