#include <player_connection.hpp>
Public Member Functions | |
const socket_ptr | socket () const |
player & | info () const |
const std::string & | name () const |
const boost::shared_ptr< game > | get_game () const |
boost::shared_ptr< game > & | get_game () |
int | game_id () const |
player_record (const socket_ptr socket, const player &player) | |
Static Public Member Functions | |
static void | set_game (player_record &, boost::shared_ptr< game >) |
static void | enter_lobby (player_record &) |
Private Attributes | |
const socket_ptr | socket_ |
player | player_ |
boost::shared_ptr< game > | game_ |
Definition at line 39 of file player_connection.hpp.
|
inline |
Definition at line 56 of file player_connection.hpp.
|
static |
Definition at line 41 of file player_connection.cpp.
References game_.
Referenced by wesnothd::server::delete_game(), and wesnothd::server::handle_player_in_game().
int wesnothd::player_record::game_id | ( | ) | const |
Definition at line 31 of file player_connection.cpp.
References game_.
const boost::shared_ptr< game > wesnothd::player_record::get_game | ( | ) | const |
Definition at line 21 of file player_connection.cpp.
References game_.
Referenced by wesnothd::server::create_game().
boost::shared_ptr< game > & wesnothd::player_record::get_game | ( | ) |
Definition at line 26 of file player_connection.cpp.
References game_.
|
inline |
Definition at line 48 of file player_connection.hpp.
References player_.
Referenced by wesnothd::server::create_game().
|
inline |
Definition at line 49 of file player_connection.hpp.
References wesnothd::player::name().
Referenced by wesnothd::player_status().
|
static |
Definition at line 36 of file player_connection.cpp.
References game_.
Referenced by wesnothd::server::handle_join_game().
|
inline |
Definition at line 47 of file player_connection.hpp.
References socket_.
Referenced by wesnothd::server::create_game(), and wesnothd::player_status().
|
private |
Definition at line 43 of file player_connection.hpp.
Referenced by enter_lobby(), game_id(), get_game(), and set_game().
|
mutableprivate |
Definition at line 42 of file player_connection.hpp.
Referenced by info().
|
private |
Definition at line 41 of file player_connection.hpp.
Referenced by socket().