|
|
int | m_fd = -1 |
|
bool | m_closed = true |
|
std::shared_ptr< spdlog::logger > | m_log |
◆ get_remote_state()
| GameState Client::get_remote_state |
( |
const std::string & | ip_address, |
|
|
uint16_t | port ) |
|
nodiscard |
Initializes the Socket, connects to the server as a client, gets the by the server already verified config and reconstructs the GameState object which it then returns.
- Parameters
-
| ip_address | of the remote server (bot_a) |
| port | of the remote server |
- Returns
- a GameState object
The documentation for this class was generated from the following file: