98 print(
_(
"ignores list"),
VGETTEXT(
"Added to ignore list: $nick", symbols));
117 print(
_(
"friends list"),
VGETTEXT(
"Added to friends list: $nick", symbols));
133 print(
_(
"friends and ignores list"),
VGETTEXT(
"Removed from list: $nick", symbols));
161 msg =
_(
"registering with password *** and no email address");
166 msg =
VGETTEXT(
"registering with password *** and "
167 "email address $email", symbols);
169 print(
_(
"nick registration"), msg);
180 print(
_(
"nick registration"),
_(
"dropping your username"));
198 print(
_(
"nick registration"),
VGETTEXT(
"setting $var to $value", symbols));
212 print(
_(
"nick registration"),
VGETTEXT(
"requesting information for user $nick", symbols));
void command_failed(const std::string &message, bool=false)
void do_info()
Request information about a user from the server.
void do_details()
Request a list of details that can be set for a username as these might vary depending on the configu...
void set(CURSOR_TYPE type)
Use the default parameter to reset cursors.
void do_drop()
Ask the server do drop the currently used (and registered) nick.
bool is_enabled(const map_command_handler< chat_command_handler >::command &c) const
virtual void send_to_server(const config &cfg)=0
virtual void add_chat_room_message_sent(const std::string &room, const std::string &message)
void send_command(const std::string &cmd, const std::string &args="")
void print(const std::string &title, const std::string &message)
static CVideo & get_singleton()
GLint GLenum GLsizei GLint GLsizei const GLvoid * data
bool remove_acquaintance(const std::string &nick)
void do_network_send_req_arg()
GLdouble GLdouble GLdouble GLdouble q
static game_config_manager * get()
static UNUSEDNOWARN std::string _(const char *str)
virtual void send_chat_message(const std::string &message, bool allies_only=false)=0
virtual void send_whisper(const std::string &receiver, const std::string &message)
std::map< std::string, t_string > string_map
void do_set()
Update details for the currently used username.
void show_preferences_dialog(CVideo &video, const config &game_cfg, const DIALOG_OPEN_TO initial_view)
config & add_child(const std::string &key)
void change_logging(const std::string &data)
Change the log level of a log domain.
bool add_friend(const std::string &nick, const std::string ¬es)
bool add_ignore(const std::string &nick, const std::string &reason)
const std::string revision
Game configuration data as global variables.
virtual void add_chat_message(const time_t &time, const std::string &speaker, int side, const std::string &message, MESSAGE_TYPE type=MESSAGE_PRIVATE)=0
static void msg(const char *act, debug_info &i, const char *to="", const char *result="")
virtual std::string get_arg(unsigned argn) const
virtual std::string get_cmd() const
Handling of system events.
void do_register()
Ask the server to register the currently used nick.
virtual void add_whisper_sent(const std::string &receiver, const std::string &message)
GLsizei GLenum GLuint GLuint GLsizei char * message
virtual std::string get_data(unsigned argn=1) const
virtual void user_relation_changed(const std::string &name)
Called when a processed command results in a relation (friend/ignore) change for a user whose name is...
chat_handler & chat_handler_
A config object defines a single node in a WML file, with access to child nodes.
virtual void send_chat_room_message(const std::string &room, const std::string &message)
GLsizei const GLcharARB ** string
void do_room_query_noarg()
void command_failed_need_arg(int argn)