33 void send_command(
const std::string& cmd,
const std::string& args=
"");
37 void do_speak(
const std::string& message,
bool allies_only=
false);
41 const std::string& speaker,
int side,
const std::string& message,
46 virtual void send_whisper(
const std::string& receiver,
const std::string& message);
48 virtual void add_whisper_sent(
const std::string& receiver,
const std::string& message);
57 const std::string& speaker,
const std::string& message);
A config object defines a single node in a WML file, with access to child nodes.
virtual void add_chat_room_message_received(const std::string &room, const std::string &speaker, const std::string &message)
virtual void send_chat_room_message(const std::string &room, const std::string &message)
virtual void clear_messages()=0
virtual void add_chat_room_message_sent(const std::string &room, const std::string &message)
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_received(const std::string &sender, const std::string &message)
virtual void add_whisper_sent(const std::string &receiver, const std::string &message)
void do_speak(const std::string &message, bool allies_only=false)
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="")
Handling of system events.