#ifndef CLIENT_SHARED_HH_ #define CLIENT_SHARED_HH_ #include #include #include "shared/net/connection.hh" namespace client { struct state { std::string_view address; std::string_view port; std::uint64_t seed; std::uint32_t localplayer; std::size_t player_count; std::size_t requested_chunk_count; std::size_t networked_chunk_count; std::int32_t draw_distance; std::uint16_t latency; shared::net::connection* connection = nullptr; }; inline state state; }; // namespace client #endif