#include <ChannelText.h>
Definition at line 51 of file ChannelText.h.
| enum ChannelText::Flags |
| ChannelText::ChannelText | ( | ) |
Definition at line 24 of file ChannelText.cpp.
| ChannelText::ChannelText | ( | const std::string & | channel, | |
| const LangString & | message | |||
| ) |
Definition at line 30 of file ChannelText.cpp.
| ChannelText::ChannelText | ( | const std::string & | channel, | |
| const std::string & | key, | |||
| const std::string & | value | |||
| ) |
Definition at line 40 of file ChannelText.cpp.
| ChannelText::ChannelText | ( | const std::string & | channel, | |
| const std::string & | key, | |||
| const std::string & | value, | |||
| const LangStringConverter & | param1 | |||
| ) |
Definition at line 52 of file ChannelText.cpp.
References LangStringConverter::getValue(), and messageParams_.
| ChannelText::ChannelText | ( | const std::string & | channel, | |
| const std::string & | key, | |||
| const std::string & | value, | |||
| const LangStringConverter & | param1, | |||
| const LangStringConverter & | param2 | |||
| ) |
Definition at line 66 of file ChannelText.cpp.
References LangStringConverter::getValue(), and messageParams_.
| ChannelText::ChannelText | ( | const std::string & | channel, | |
| const std::string & | key, | |||
| const std::string & | value, | |||
| const LangStringConverter & | param1, | |||
| const LangStringConverter & | param2, | |||
| const LangStringConverter & | param3 | |||
| ) |
Definition at line 82 of file ChannelText.cpp.
References LangStringConverter::getValue(), and messageParams_.
| ChannelText::ChannelText | ( | const std::string & | channel, | |
| const std::string & | key, | |||
| const std::string & | value, | |||
| const LangStringConverter & | param1, | |||
| const LangStringConverter & | param2, | |||
| const LangStringConverter & | param3, | |||
| const LangStringConverter & | param4 | |||
| ) |
Definition at line 100 of file ChannelText.cpp.
References LangStringConverter::getValue(), and messageParams_.
| void ChannelText::setChannel | ( | const std::string & | channel | ) | [inline] |
Definition at line 95 of file ChannelText.h.
References channel_.
Referenced by ServerChannelManager::processMessage().
| void ChannelText::setMessage | ( | const LangString & | message | ) | [inline] |
Definition at line 96 of file ChannelText.h.
References message_.
Referenced by ServerChannelManager::actualSend().
| void ChannelText::setMessageKey | ( | const std::string & | key | ) | [inline] |
Definition at line 97 of file ChannelText.h.
References messageKey_.
Referenced by ServerChannelManager::processMessage().
| void ChannelText::setMessageValue | ( | const std::string & | value | ) | [inline] |
Definition at line 98 of file ChannelText.h.
References messageValue_.
Referenced by ServerChannelManager::processMessage().
| void ChannelText::setSrcPlayerId | ( | unsigned int | srcPlayerId | ) | [inline] |
Definition at line 99 of file ChannelText.h.
References srcPlayerId_.
Referenced by TankSay::init(), and ClientChannelManager::sendText().
| void ChannelText::setDestPlayerId | ( | unsigned int | destPlayerId | ) | [inline] |
| void ChannelText::setFlags | ( | unsigned int | flags | ) | [inline] |
Definition at line 101 of file ChannelText.h.
References flags_.
Referenced by FrameTimer::simulate().
| void ChannelText::setAdminPlayer | ( | const std::string & | admin | ) | [inline] |
Definition at line 102 of file ChannelText.h.
References admin_.
Referenced by ServerAdminCommon::adminSay(), and ServerChannelManager::processMessage().
| const std::string& ChannelText::getChannel | ( | ) | [inline] |
Definition at line 104 of file ChannelText.h.
References channel_.
Referenced by ServerChannelManager::actualSend(), GLWChannelView::channelText(), ServerChannelManager::processMessage(), ClientChannelManager::processMessage(), ChannelManager::showText(), and ClientChannelManager::showText().
| const LangString & ChannelText::getMessage | ( | ) |
Definition at line 120 of file ChannelText.cpp.
References Lang::getEntry(), ResourceBundleEntry::getString(), Lang::instance(), message_, messageKey_, messageParams_, and messageValue_.
Referenced by ServerChannelManager::actualSend(), GLWChannelText::buttonDown(), GLWChannelView::channelText(), MessageDialog::channelText(), GLWChannelText::itemSelected(), ServerChannelManager::processMessage(), ClientChannelManager::processMessage(), ChannelManager::showText(), and ClientChannelManager::showText().
| const std::string& ChannelText::getAdminPlayer | ( | ) | [inline] |
Definition at line 106 of file ChannelText.h.
References admin_.
Referenced by ServerChannelManager::actualSend(), and GLWChannelView::channelText().
| const std::string& ChannelText::getMessageKey | ( | ) | [inline] |
| const std::string& ChannelText::getMessageValue | ( | ) | [inline] |
| const std::vector<LangString>& ChannelText::getMessageParams | ( | ) | [inline] |
| unsigned int ChannelText::getSrcPlayerId | ( | ) | [inline] |
Definition at line 110 of file ChannelText.h.
References srcPlayerId_.
Referenced by ServerChannelManager::actualSend(), GLWChannelView::channelText(), ServerChannelManager::processMessage(), ClientChannelManager::processMessage(), and ServerChannelFilterTeams::sentToDestination().
| unsigned int ChannelText::getDestPlayerId | ( | ) | [inline] |
Definition at line 111 of file ChannelText.h.
References destPlayerId_.
Referenced by ServerChannelManager::processMessage().
| unsigned int ChannelText::getFlags | ( | ) | [inline] |
Definition at line 112 of file ChannelText.h.
References flags_.
Referenced by GLWChannelView::channelText(), and ClientChannelManager::showText().
| bool ChannelText::writeMessage | ( | NetBuffer & | buffer | ) | [virtual] |
Definition at line 152 of file ChannelText.cpp.
References NetBuffer::addToBuffer(), admin_, channel_, destPlayerId_, flags_, message_, messageKey_, messageParams_, messageValue_, and srcPlayerId_.
Referenced by ComsChannelTextMessage::writeMessage().
| bool ChannelText::readMessage | ( | NetBufferReader & | reader | ) | [virtual] |
Definition at line 177 of file ChannelText.cpp.
References admin_, channel_, destPlayerId_, flags_, NetBufferReader::getFromBuffer(), message_, messageKey_, messageParams_, messageValue_, and srcPlayerId_.
Referenced by ComsChannelTextMessage::readMessage().
unsigned int ChannelText::srcPlayerId_ [protected] |
Definition at line 118 of file ChannelText.h.
Referenced by getSrcPlayerId(), readMessage(), setSrcPlayerId(), and writeMessage().
unsigned int ChannelText::destPlayerId_ [protected] |
Definition at line 119 of file ChannelText.h.
Referenced by getDestPlayerId(), readMessage(), setDestPlayerId(), and writeMessage().
unsigned int ChannelText::flags_ [protected] |
Definition at line 120 of file ChannelText.h.
Referenced by getFlags(), readMessage(), setFlags(), and writeMessage().
std::string ChannelText::messageKey_ [protected] |
Definition at line 121 of file ChannelText.h.
Referenced by getMessage(), getMessageKey(), readMessage(), setMessageKey(), and writeMessage().
std::vector<LangString> ChannelText::messageParams_ [protected] |
Definition at line 122 of file ChannelText.h.
Referenced by ChannelText(), getMessage(), getMessageParams(), readMessage(), and writeMessage().
std::string ChannelText::messageValue_ [protected] |
Definition at line 123 of file ChannelText.h.
Referenced by getMessage(), getMessageValue(), readMessage(), setMessageValue(), and writeMessage().
std::string ChannelText::channel_ [protected] |
Definition at line 124 of file ChannelText.h.
Referenced by getChannel(), readMessage(), setChannel(), and writeMessage().
LangString ChannelText::message_ [protected] |
Definition at line 125 of file ChannelText.h.
Referenced by getMessage(), readMessage(), setMessage(), and writeMessage().
std::string ChannelText::admin_ [protected] |
Definition at line 126 of file ChannelText.h.
Referenced by getAdminPlayer(), readMessage(), setAdminPlayer(), and writeMessage().
1.5.3