#include <game_preferences.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... | |
Definition at line 295 of file game_preferences.hpp.
|
inline |
Definition at line 298 of file game_preferences.hpp.
|
inlineexplicit |
Definition at line 302 of file game_preferences.hpp.
References load_from_config().
|
inline |
Definition at line 307 of file game_preferences.hpp.
|
inline |
Definition at line 320 of file game_preferences.hpp.
References nick_.
Referenced by preferences::load_acquaintances().
|
inline |
Definition at line 322 of file game_preferences.hpp.
References notes_.
|
inline |
Definition at line 321 of file game_preferences.hpp.
References status_.
Referenced by preferences::is_friend(), and preferences::is_ignored().
Definition at line 1188 of file game_preferences.cpp.
References nick_, notes_, and status_.
Referenced by acquaintance().
Definition at line 1195 of file game_preferences.cpp.
|
private |
acquaintance's MP nick
Definition at line 329 of file game_preferences.hpp.
Referenced by get_nick(), load_from_config(), and save().
|
private |
notes on the acquaintance
Definition at line 335 of file game_preferences.hpp.
Referenced by get_notes(), load_from_config(), and save().
|
private |
status (e.g., "friend", "ignore")
Definition at line 332 of file game_preferences.hpp.
Referenced by get_status(), load_from_config(), and save().