#include <functional>
#include <string>
Go to the source code of this file.
Classes | |
class | mp::network_registrar |
RAII helper class to register a network handler. More... | |
Namespaces | |
ng | |
mp | |
Main entry points of multiplayer mode. | |
Functions | |
void | mp::start_client (const std::string &host) |
Pubic entry points for the MP workflow. More... | |
void | mp::start_local_game () |
Starts a multiplayer game in single-user mode. More... | |
void | mp::start_local_game_commandline (const commandline_options &cmdline_opts) |
Starts a multiplayer game in single-user mode using command line settings. More... | |
bool | mp::goto_mp_staging (ng::connect_engine &engine) |
Opens the MP Staging screen and sets the game state according to the changes made. More... | |
bool | mp::goto_mp_wait (bool observe) |
Opens the MP Join Game screen and sets the game state according to the changes made. More... | |
bool | mp::logged_in_as_moderator () |
Gets whether the currently logged-in user is a moderator. More... | |
std::string | mp::get_profile_link (int user_id) |
Gets the forum profile link for the given user. More... | |
lobby_info * | mp::get_lobby_info () |
Returns the lobby_info object for the given session. More... | |
void | mp::send_to_server (const config &data) |
Attempts to send given data to server if a connection is open. More... | |
Variables | |
const std::size_t | mp::max_login_size = 20 |
Max length of a player name. More... | |