ManaPlus
|
Functions | |
void | processChat (Net::MessageIn &msg) |
void | processChatContinue (std::string chatMsg) |
void | processGmChat (Net::MessageIn &msg) |
void | processWhisper (Net::MessageIn &msg) |
void | processWhisperResponse (Net::MessageIn &msg) |
void | processWhisperContinue (const std::string &nick, std::string chatMsg) |
void | processBeingChat (Net::MessageIn &msg) |
void | processScriptMessage (Net::MessageIn &msg) |
Variables | |
std::string | mShopRequestName |
void TmwAthena::ChatRecv::processBeingChat | ( | Net::MessageIn & | msg | ) |
Definition at line 336 of file chatrecv.cpp.
References actorManager, BLOCK_END, BLOCK_START, ChatMsgType::BY_OTHER, CAST_S32, chatWindow, PlayerRelationsManager::checkPermissionSilently(), ActorManager::findBeing(), GENERAL_CHANNEL, Being::getName(), ActorManager::getSeenPlayerById(), Being::getType(), PlayerRelationsManager::hasPermission(), Net::ServerFeatures::haveIncompleteChatMessages(), IgnoreRecord_false, Actions::msg(), ActorType::Player, playerRelations, removeColors(), ChatWindow::resortChatLog(), serverFeatures, Being::setSpeech(), Being::setTalkTime(), PlayerRelation::SPEECH_FLOAT, PlayerRelation::SPEECH_LOG, Catch::toString(), Catch::trim(), and TryRemoveColors_true.
void TmwAthena::ChatRecv::processChat | ( | Net::MessageIn & | msg | ) |
Definition at line 60 of file chatrecv.cpp.
References BLOCK_END, BLOCK_START, Actions::msg(), and EAthena::ChatRecv::processChatContinue().
void TmwAthena::ChatRecv::processChatContinue | ( | std::string | chatMsg | ) |
Definition at line 73 of file chatrecv.cpp.
References actorManager, BLOCK_END, ChatMsgType::BY_PLAYER, chatWindow, cur_time, GENERAL_CHANNEL, IgnoreRecord_false, localPlayer, Ea::ChatRecv::mMotdTime, Ea::ChatRecv::mShowMotd, Ea::ChatRecv::mSkipping, ActorManager::parseLevels(), ChatWindow::resortChatLog(), Being::setSpeech(), Catch::trim(), and TryRemoveColors_true.
void TmwAthena::ChatRecv::processGmChat | ( | Net::MessageIn & | msg | ) |
Definition at line 125 of file chatrecv.cpp.
References ChatWindow::addGlobalMessage(), BLOCK_END, BLOCK_START, chatWindow, localChatTab, and Actions::msg().
void TmwAthena::ChatRecv::processScriptMessage | ( | Net::MessageIn & | msg | ) |
Definition at line 414 of file chatrecv.cpp.
References ChatMsgType::BY_SERVER, ChatTab::chatLog(), IgnoreRecord_false, localChatTab, Actions::msg(), and TryRemoveColors_true.
void TmwAthena::ChatRecv::processWhisper | ( | Net::MessageIn & | msg | ) |
Definition at line 148 of file chatrecv.cpp.
References BLOCK_END, BLOCK_START, Actions::msg(), and EAthena::ChatRecv::processWhisperContinue().
void TmwAthena::ChatRecv::processWhisperContinue | ( | const std::string & | nick, |
std::string | chatMsg | ||
) |
Definition at line 171 of file chatrecv.cpp.
References _, ChatWindow::addWhisper(), BLOCK_END, ShopWindow::BUY, ChatMsgType::BY_OTHER, ChatMsgType::BY_SERVER, ChatTab::chatLog(), chatWindow, config, debugMsg, Configuration::getBoolValue(), GuildManager::getEnableGuildBot(), ShopWindow::giveList(), gmChatTab, guildManager, PlayerRelationsManager::hasPermission(), IgnoreRecord_false, localChatTab, mShopRequestName, playerRelations, GuildManager::processGuildMessage(), ShopWindow::processRequest(), ShopWindow::SELL, shopWindow, ShopWindow::showList(), strprintf(), strStartWith(), PlayerRelation::TRADE, TryRemoveColors_true, and PlayerRelation::WHISPER.
void TmwAthena::ChatRecv::processWhisperResponse | ( | Net::MessageIn & | msg | ) |
Definition at line 163 of file chatrecv.cpp.
References BLOCK_START, Actions::msg(), and Ea::ChatRecv::processWhisperResponseContinue().
std::string TmwAthena::ChatRecv::mShopRequestName |
Definition at line 57 of file chatrecv.cpp.
Referenced by processWhisperContinue(), TmwAthena::BuySellHandler::requestBuyList(), and TmwAthena::BuySellHandler::requestSellList().