NetGameClient.
More...
#include <client.h>
◆ NetGameClient()
clan::NetGameClient::NetGameClient |
( |
| ) |
|
◆ ~NetGameClient()
clan::NetGameClient::~NetGameClient |
( |
| ) |
|
◆ connect()
void clan::NetGameClient::connect |
( |
const std::string & |
server, |
|
|
const std::string & |
port |
|
) |
| |
Connect.
- Parameters
-
server | = String |
port | = String |
◆ disconnect()
void clan::NetGameClient::disconnect |
( |
| ) |
|
◆ process_events()
void clan::NetGameClient::process_events |
( |
| ) |
|
◆ send_event()
void clan::NetGameClient::send_event |
( |
const NetGameEvent & |
game_event | ) |
|
Send event.
- Parameters
-
game_event | = Net Game Event |
◆ sig_connected()
Signal< void()> & clan::NetGameClient::sig_connected |
( |
| ) |
|
◆ sig_disconnected()
Signal< void()> & clan::NetGameClient::sig_disconnected |
( |
| ) |
|
◆ sig_event_received()
The documentation for this class was generated from the following file: