Project Alice
|
#include <network.hpp>
Public Member Functions | |
bool | is_banned (sys::state &state) const |
bool | is_active () const |
Public Attributes | |
dcon::nation_id | playing_as {} |
socket_t | socket_fd = 0 |
struct sockaddr_storage | address |
client_handshake_data | hshake_buffer |
command::payload | recv_buffer |
size_t | recv_count = 0 |
std::vector< char > | send_buffer |
std::vector< char > | early_send_buffer |
size_t | total_sent_bytes = 0 |
size_t | save_stream_offset = 0 |
size_t | save_stream_size = 0 |
bool | handshake = true |
sys::date | last_seen |
Definition at line 49 of file network.hpp.
|
inline |
Definition at line 69 of file network.hpp.
bool network::client_data::is_banned | ( | sys::state & | state | ) | const |
Definition at line 1014 of file network.cpp.
struct sockaddr_storage network::client_data::address |
Definition at line 52 of file network.hpp.
std::vector<char> network::client_data::early_send_buffer |
Definition at line 58 of file network.hpp.
bool network::client_data::handshake = true |
Definition at line 64 of file network.hpp.
client_handshake_data network::client_data::hshake_buffer |
Definition at line 54 of file network.hpp.
sys::date network::client_data::last_seen |
Definition at line 66 of file network.hpp.
dcon::nation_id network::client_data::playing_as {} |
Definition at line 50 of file network.hpp.
command::payload network::client_data::recv_buffer |
Definition at line 55 of file network.hpp.
size_t network::client_data::recv_count = 0 |
Definition at line 56 of file network.hpp.
size_t network::client_data::save_stream_offset = 0 |
Definition at line 62 of file network.hpp.
size_t network::client_data::save_stream_size = 0 |
Definition at line 63 of file network.hpp.
std::vector<char> network::client_data::send_buffer |
Definition at line 57 of file network.hpp.
socket_t network::client_data::socket_fd = 0 |
Definition at line 51 of file network.hpp.
size_t network::client_data::total_sent_bytes = 0 |
Definition at line 61 of file network.hpp.