ManaPlus
|
Variables | |
std::string | mChatRoom |
std::string EAthena::ChatRecv::extractChannelFromMessage | ( | std::string & | chatMsg | ) |
Definition at line 263 of file chatrecv.cpp.
References findCutFirst(), GENERAL_CHANNEL, and Actions::msg().
Referenced by processChatContinue().
void EAthena::ChatRecv::processBattleChatMessage | ( | Net::MessageIn & | msg | ) |
void EAthena::ChatRecv::processBeingChat | ( | Net::MessageIn & | msg | ) |
Definition at line 554 of file chatrecv.cpp.
References actorManager, BLOCK_END, BLOCK_START, ChatMsgType::BY_OTHER, chatWindow, PlayerRelationsManager::checkPermissionSilently(), ActorManager::findBeing(), GENERAL_CHANNEL, Being::getName(), Being::getType(), PlayerRelationsManager::hasPermission(), IgnoreRecord_false, Actions::msg(), ActorType::Player, playerRelations, removeColors(), ChatWindow::resortChatLog(), Being::setSpeech(), Being::setTalkTime(), PlayerRelation::SPEECH_FLOAT, PlayerRelation::SPEECH_LOG, Catch::trim(), and TryRemoveColors_true.
void EAthena::ChatRecv::processChat | ( | Net::MessageIn & | msg | ) |
Definition at line 111 of file chatrecv.cpp.
References BLOCK_END, BLOCK_START, ChatMsgType::BY_PLAYER, Actions::msg(), and processChatContinue().
void EAthena::ChatRecv::processChatContinue | ( | std::string | chatMsg, |
const ChatMsgTypeT | own | ||
) |
Definition at line 279 of file chatrecv.cpp.
References BLOCK_END, chatWindow, extractChannelFromMessage(), IgnoreRecord_false, localPlayer, Ea::ChatRecv::mShowMotd, ChatWindow::resortChatLog(), Being::setSpeech(), Catch::trim(), and TryRemoveColors_true.
Referenced by processChat(), TmwAthena::ChatRecv::processChat(), processColorChat(), processFormatColor(), processFormatMessage(), processFormatMessageNumber(), processFormatMessageSkill(), processFormatMessageString(), and processFormatMessageStringColor().
void EAthena::ChatRecv::processChatDisplay | ( | Net::MessageIn & | msg | ) |
Definition at line 403 of file chatrecv.cpp.
References actorManager, ChatObject::chatId, ChatObject::currentUsers, ActorManager::findBeing(), ChatObject::maxUsers, Actions::msg(), ChatObject::ownerId, Being::setChat(), ChatObject::title, ChatObject::type, and ChatObject::update().
void EAthena::ChatRecv::processChatIgnoreList | ( | Net::MessageIn & | msg | ) |
void EAthena::ChatRecv::processChatRoomAddMember | ( | Net::MessageIn & | msg | ) |
Definition at line 691 of file chatrecv.cpp.
References localChatTab, Actions::msg(), NotifyManager::notify(), and NotifyTypes::ROOM_JOINED.
void EAthena::ChatRecv::processChatRoomCreateAck | ( | Net::MessageIn & | msg | ) |
Definition at line 616 of file chatrecv.cpp.
References ChatObject::chatId, chatWindow, ChatObject::currentUsers, ActorSprite::getId(), ChatWindow::joinRoom(), localPlayer, ChatObject::maxUsers, mChatRoom, Actions::msg(), NotifyManager::notify(), ChatObject::ownerId, NotifyTypes::ROOM_ALREADY_EXISTS, NotifyTypes::ROOM_LIMIT_EXCEEDED, Being::setChat(), PlayerInfo::setRoomName(), ChatObject::title, ChatObject::type, UNIMPLEMENTEDPACKETFIELD, and ChatObject::update().
void EAthena::ChatRecv::processChatRoomDestroy | ( | Net::MessageIn & | msg | ) |
Definition at line 649 of file chatrecv.cpp.
References actorManager, Actions::msg(), and ActorManager::removeRoom().
void EAthena::ChatRecv::processChatRoomJoinAck | ( | Net::MessageIn & | msg | ) |
Definition at line 422 of file chatrecv.cpp.
References ChatObject::chatId, chatWindow, ChatObject::currentUsers, ChatObject::findById(), ChatWindow::joinRoom(), localPlayer, ChatObject::maxUsers, Actions::msg(), ChatObject::ownerId, Being::setChat(), PlayerInfo::setRoomName(), ChatObject::title, and ChatObject::type.
void EAthena::ChatRecv::processChatRoomJoinFailed | ( | Net::MessageIn & | msg | ) |
Definition at line 657 of file chatrecv.cpp.
References Actions::msg(), NotifyManager::notify(), NotifyTypes::ROOM_ERROR_FULL, NotifyTypes::ROOM_ERROR_HIGH_LEVEL, NotifyTypes::ROOM_ERROR_KICKED, NotifyTypes::ROOM_ERROR_LOW_LEVEL, NotifyTypes::ROOM_ERROR_RACE, NotifyTypes::ROOM_ERROR_WRONG_PASSWORD, NotifyTypes::ROOM_ERROR_ZENY, and UNIMPLEMENTEDPACKETFIELD.
void EAthena::ChatRecv::processChatRoomLeave | ( | Net::MessageIn & | msg | ) |
Definition at line 455 of file chatrecv.cpp.
References actorManager, chatWindow, ActorManager::findBeingByName(), Being::getName(), ChatWindow::joinRoom(), localPlayer, Actions::msg(), NotifyManager::notify(), ActorType::Player, NotifyTypes::ROOM_KICKED, NotifyTypes::ROOM_LEAVE, Being::setChat(), PlayerInfo::setRoomName(), and UNIMPLEMENTEDPACKETFIELD.
void EAthena::ChatRecv::processChatRoomRoleChange | ( | Net::MessageIn & | msg | ) |
Definition at line 726 of file chatrecv.cpp.
References Actions::msg(), NotifyManager::notify(), NotifyTypes::ROOM_ROLE_OWNER, and UNIMPLEMENTEDPACKETFIELD.
void EAthena::ChatRecv::processChatRoomSettings | ( | Net::MessageIn & | msg | ) |
Definition at line 700 of file chatrecv.cpp.
References actorManager, ChatObject::chatId, chatWindow, Being::getChat(), ChatWindow::joinRoom(), localPlayer, ChatObject::maxUsers, Actions::msg(), ChatObject::ownerId, ChatObject::title, ChatObject::type, and ActorManager::updateRoom().
void EAthena::ChatRecv::processChatSilence | ( | Net::MessageIn & | msg | ) |
Definition at line 777 of file chatrecv.cpp.
References NotifyTypes::MANNER_NEGATIVE_POINTS, NotifyTypes::MANNER_POSITIVE_POINTS, Actions::msg(), NotifyManager::notify(), and UNIMPLEMENTEDPACKETFIELD.
void EAthena::ChatRecv::processChatTalkieBox | ( | Net::MessageIn & | msg | ) |
Definition at line 796 of file chatrecv.cpp.
References ChatMsgType::BY_SERVER, ChatTab::chatLog(), IgnoreRecord_false, localChatTab, Actions::msg(), and TryRemoveColors_true.
void EAthena::ChatRecv::processColorChat | ( | Net::MessageIn & | msg | ) |
Definition at line 223 of file chatrecv.cpp.
References ChatWindow::addChannelTab(), BLOCK_END, BLOCK_START, ChatMsgType::BY_UNKNOWN, chatWindow, findCutFirst(), findCutLast(), Ea::ChatRecv::getLastWhisperNick(), Being::getName(), localPlayer, Ea::ChatRecv::mSentWhispers, Actions::msg(), Actions::msg2(), processChatContinue(), and strprintf().
void EAthena::ChatRecv::processFormatColor | ( | Net::MessageIn & | msg | ) |
Definition at line 179 of file chatrecv.cpp.
References ChatMsgType::BY_SERVER, Actions::msg(), processChatContinue(), and strprintf().
void EAthena::ChatRecv::processFormatMessage | ( | Net::MessageIn & | msg | ) |
Definition at line 125 of file chatrecv.cpp.
References _, ChatMsgType::BY_SERVER, EAthena::MercenaryRecv::handleMercenaryMessage(), Actions::msg(), processChatContinue(), and strprintf().
void EAthena::ChatRecv::processFormatMessageNumber | ( | Net::MessageIn & | msg | ) |
Definition at line 164 of file chatrecv.cpp.
References ChatMsgType::BY_SERVER, Actions::msg(), NotifyManager::notify(), processChatContinue(), strprintf(), and NotifyTypes::USE_ITEM_WAIT.
void EAthena::ChatRecv::processFormatMessageSkill | ( | Net::MessageIn & | msg | ) |
Definition at line 213 of file chatrecv.cpp.
References ChatMsgType::BY_SERVER, Actions::msg(), processChatContinue(), and strprintf().
void EAthena::ChatRecv::processFormatMessageString | ( | Net::MessageIn & | msg | ) |
Definition at line 189 of file chatrecv.cpp.
References ChatMsgType::BY_SERVER, Actions::msg(), processChatContinue(), and strprintf().
void EAthena::ChatRecv::processFormatMessageStringColor | ( | Net::MessageIn & | msg | ) |
Definition at line 200 of file chatrecv.cpp.
References ChatMsgType::BY_SERVER, Actions::msg(), packetVersion, processChatContinue(), and strprintf().
void EAthena::ChatRecv::processGmChat | ( | Net::MessageIn & | msg | ) |
Definition at line 307 of file chatrecv.cpp.
References ChatWindow::addGlobalMessage(), BLOCK_END, BLOCK_START, chatWindow, findCutFirst(), and Actions::msg().
void EAthena::ChatRecv::processGmChat2 | ( | Net::MessageIn & | msg | ) |
Definition at line 327 of file chatrecv.cpp.
References ChatWindow::addGlobalMessage(), chatWindow, and Actions::msg().
void EAthena::ChatRecv::processIgnoreNickAck | ( | Net::MessageIn & | msg | ) |
Definition at line 64 of file chatrecv.cpp.
References NotifyTypes::IGNORE_PLAYER_FAILURE, NotifyTypes::IGNORE_PLAYER_SUCCESS, NotifyTypes::IGNORE_PLAYER_TOO_MANY, NotifyTypes::IGNORE_PLAYER_TYPE_UNKNOWN, NotifyTypes::IGNORE_PLAYER_UNKNOWN, Actions::msg(), NotifyManager::notify(), NotifyTypes::UNIGNORE_PLAYER_FAILURE, NotifyTypes::UNIGNORE_PLAYER_SUCCESS, and NotifyTypes::UNIGNORE_PLAYER_UNKNOWN.
void EAthena::ChatRecv::processJoinChannel | ( | Net::MessageIn & | msg | ) |
Definition at line 491 of file chatrecv.cpp.
References _, ChatWindow::addChannelTab(), ChatMsgType::BY_SERVER, ChatWindow::channelChatLog(), chatWindow, IgnoreRecord_false, Actions::msg(), strprintf(), and TryRemoveColors_false.
void EAthena::ChatRecv::processMannerMessage | ( | Net::MessageIn & | msg | ) |
Definition at line 761 of file chatrecv.cpp.
References NotifyTypes::MANNER_CHANGED, Actions::msg(), NotifyManager::notify(), and UNIMPLEMENTEDPACKETFIELD.
void EAthena::ChatRecv::processMVPExp | ( | Net::MessageIn & | msg | ) |
Definition at line 750 of file chatrecv.cpp.
References Actions::msg(), and UNIMPLEMENTEDPACKET.
void EAthena::ChatRecv::processMVPItem | ( | Net::MessageIn & | msg | ) |
Definition at line 744 of file chatrecv.cpp.
References Actions::msg(), and UNIMPLEMENTEDPACKET.
void EAthena::ChatRecv::processMVPNoItem | ( | Net::MessageIn & | msg | ) |
Definition at line 756 of file chatrecv.cpp.
References UNIMPLEMENTEDPACKET.
void EAthena::ChatRecv::processScriptMessage | ( | Net::MessageIn & | msg | ) |
Definition at line 815 of file chatrecv.cpp.
References ChatMsgType::BY_SERVER, ChatTab::chatLog(), IgnoreRecord_false, localChatTab, Actions::msg(), and TryRemoveColors_true.
void EAthena::ChatRecv::processServiceMessageColor | ( | Net::MessageIn & | msg | ) |
Definition at line 826 of file chatrecv.cpp.
References ChatMsgType::BY_SERVER, ChatTab::chatLog(), IgnoreRecord_false, localChatTab, Actions::msg(), and TryRemoveColors_true.
void EAthena::ChatRecv::processWhisper | ( | Net::MessageIn & | msg | ) |
Definition at line 347 of file chatrecv.cpp.
References BLOCK_END, BLOCK_START, Actions::msg(), and processWhisperContinue().
void EAthena::ChatRecv::processWhisperContinue | ( | const std::string & | nick, |
std::string | chatMsg | ||
) |
Definition at line 522 of file chatrecv.cpp.
References ChatWindow::addWhisper(), BLOCK_END, ChatMsgType::BY_OTHER, ChatMsgType::BY_SERVER, ChatTab::chatLog(), chatWindow, PlayerRelationsManager::hasPermission(), IgnoreRecord_false, localChatTab, playerRelations, TryRemoveColors_true, and PlayerRelation::WHISPER.
Referenced by processWhisper(), and TmwAthena::ChatRecv::processWhisper().
void EAthena::ChatRecv::processWhisperResponse | ( | Net::MessageIn & | msg | ) |
Definition at line 367 of file chatrecv.cpp.
References _, BLOCK_START, ChatMsgType::BY_SERVER, ChatWindow::channelChatLog(), chatWindow, empty, Ea::ChatRecv::getLastWhisperNick(), IgnoreRecord_false, Ea::ChatRecv::mSentWhispers, Actions::msg(), Ea::ChatRecv::processWhisperResponseContinue(), strprintf(), and TryRemoveColors_false.
std::string EAthena::ChatRecv::mChatRoom |
Definition at line 61 of file chatrecv.cpp.
Referenced by EAthena::ChatHandler::createChatRoom(), and processChatRoomCreateAck().