#include <game.hpp>
Public Member Functions | |
acquaintance () | |
acquaintance (const config &cfg) | |
acquaintance (const std::string &nick, const std::string &status, const std::string ¬es) | |
void | load_from_config (const config &cfg) |
const std::string & | get_nick () const |
const std::string & | get_status () const |
const std::string & | get_notes () const |
void | save (config &cfg) |
Private Attributes | |
std::string | nick_ |
acquaintance's MP nick More... | |
std::string | status_ |
status (e.g., "friend", "ignore") More... | |
std::string | notes_ |
notes on the acquaintance More... | |
|
inlineexplicit |
Definition at line 47 of file game.hpp.
References load_from_config().
|
inline |
|
inline |
Definition at line 61 of file game.hpp.
References nick_.
Referenced by gui2::dialogs::preferences_dialog::get_friends_list_row_data(), and preferences::load_acquaintances().
|
inline |
Definition at line 63 of file game.hpp.
References notes_.
Referenced by gui2::dialogs::preferences_dialog::get_friends_list_row_data().
|
inline |
Definition at line 62 of file game.hpp.
References status_.
Referenced by gui2::dialogs::preferences_dialog::get_friends_list_row_data().
void preferences::acquaintance::load_from_config | ( | const config & | cfg | ) |
void preferences::acquaintance::save | ( | config & | cfg | ) |
|
private |
acquaintance's MP nick
Definition at line 69 of file game.hpp.
Referenced by get_nick(), load_from_config(), and save().
|
private |
notes on the acquaintance
Definition at line 75 of file game.hpp.
Referenced by get_notes(), load_from_config(), and save().
|
private |
status (e.g., "friend", "ignore")
Definition at line 72 of file game.hpp.
Referenced by get_status(), load_from_config(), and save().