81 print(
_(
"ignores list"),
VGETTEXT(
"Added to ignore list: $nick", symbols));
100 print(
_(
"friends list"),
VGETTEXT(
"Added to friends list: $nick", symbols));
116 print(
_(
"friends and ignores list"),
VGETTEXT(
"Removed from list: $nick", symbols));
133 config& nickserv =
data.add_child(
"nickserv");
138 print(
_(
"nick registration"),
VGETTEXT(
"requesting information for user $nick", symbols));
148 std::string report_text;
149 gui2::dialogs::mp_report::execute(report_text);
151 if(!report_text.empty()) {
A config object defines a single node in a WML file, with access to child nodes.
config & add_child(config_key_type key)
void do_info()
Request information about a user from the server.
bool is_enabled(const map_command_handler< chat_command_handler >::command &c) const
void print(const std::string &title, const std::string &message)
chat_handler & chat_handler_
void do_network_send_req_arg()
virtual void clear_messages()=0
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...
virtual void add_whisper_sent(const std::string &receiver, const std::string &message)
void change_logging(const std::string &data)
Change the log level of a log domain.
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)
virtual void add_chat_message(const std::time_t &time, const std::string &speaker, int side, const std::string &message, MESSAGE_TYPE type=MESSAGE_PRIVATE)=0
virtual void send_to_server(const config &cfg)=0
void send_command(const std::string &cmd, const std::string &args="")
virtual std::string get_arg(unsigned argn) const
virtual std::string get_cmd() const
virtual std::string get_data(unsigned argn=1) const
void command_failed_need_arg(int argn)
void command_failed(const std::string &message, bool=false)
bool remove_acquaintance(const std::string &nick)
Interfaces for manipulating version numbers of engine, add-ons, etc.
static std::string _(const char *str)
Handling of system events.
const std::string revision
bool logged_in_as_moderator()
Gets whether the currently logged-in user is a moderator.
std::map< std::string, t_string > string_map