#include <array>
#include <string>
#include <netinet/in.h>
#include <sys/socket.h>
#include "SPSCQueue.h"
#include "container_types.hpp"
#include "commands.hpp"
Go to the source code of this file.
|
void | network::init (sys::state &state) |
|
void | network::send_and_receive_commands (sys::state &state) |
|
void | network::finish (sys::state &state, bool notify_host) |
|
void | network::ban_player (sys::state &state, client_data &client) |
|
void | network::kick_player (sys::state &state, client_data &client) |
|
void | network::switch_player (sys::state &state, dcon::nation_id new_n, dcon::nation_id old_n) |
|
void | network::write_network_save (sys::state &state) |
|
void | network::broadcast_save_to_clients (sys::state &state, command::payload &c, uint8_t const *buffer, uint32_t length, sys::checksum_key const &k) |
|
void | network::broadcast_to_clients (sys::state &state, command::payload &c) |
|