ManaPlus
|
Functions | |
static ChatTab * | getGuildTab () |
static void | chatLog (ChatTab *const tab, const std::string &str) |
void | notify (const unsigned int message) |
void | notify (const unsigned int message, const int num) |
void | notify (const unsigned int message, const std::string &str) |
int | getIndexBySound (const std::string &sound) |
Variables | |
static const NotificationInfo | notifications [NotifyTypes::TYPE_END] |
|
static |
Definition at line 62 of file notifymanager.cpp.
References ChatMsgType::BY_SERVER, ChatTab::chatLog(), debugChatTab, IgnoreRecord_false, and TryRemoveColors_true.
Referenced by notify().
|
static |
Definition at line 45 of file notifymanager.cpp.
References Being::getGuild(), GuildManager::getTab(), Net::GuildHandler::getTab(), guild, guildHandler, guildManager, and localPlayer.
Referenced by notify().
int NotifyManager::getIndexBySound | ( | const std::string & | sound | ) |
Definition at line 205 of file notifymanager.cpp.
References notifications, and NotifyTypes::TYPE_END.
Referenced by SoundDB::loadXmlFile().
void NotifyManager::notify | ( | const unsigned int | message | ) |
Definition at line 82 of file notifymanager.cpp.
References ChatMsgType::BY_SERVER, chatLog(), ChatTab::chatLog(), NotifyFlags::EMPTY, getGuildTab(), SoundDB::getSound(), Net::PartyHandler::getTab(), NotifyFlags::GUILD, NotifyFlags::GUILD_STRING, IgnoreRecord_false, Actions::info(), NotifyFlags::INT, localChatTab, localPlayer, notifications, NotifyFlags::PARTY, NotifyFlags::PARTY_STRING, partyHandler, SoundManager::playSfx(), Being::setSpeech(), soundManager, NotifyFlags::SPEECH, NotifyFlags::STRING, TryRemoveColors_true, and NotifyTypes::TYPE_END.
Referenced by GuildManager::afterRemove(), EAthena::MercenaryRecv::handleMercenaryMessage(), EAthena::PartyHandler::kick(), TmwAthena::PartyHandler::kick(), EAthena::Mail2Recv::processAddItemResult(), EAthena::FamilyRecv::processAskForChildReply(), EAthena::BankRecv::processBankDeposit(), EAthena::BankRecv::processBankStatus(), EAthena::BankRecv::processBankWithdraw(), Ea::BeingRecv::processBeingRemove(), EAthena::InventoryRecv::processBindItem(), EAthena::VendingRecv::processBuyAck(), EAthena::BuyingStoreRecv::processBuyingStoreCreateFailed(), EAthena::BuyingStoreRecv::processBuyingStoreSellerSellFailed(), EAthena::BuyingStoreRecv::processBuyingStoreSellFailed(), EAthena::FamilyRecv::processCallPartner(), EAthena::InventoryRecv::processCartAddError(), EAthena::CashShopRecv::processCashShopBuyAck(), EAthena::ChatRecv::processChatRoomAddMember(), EAthena::ChatRecv::processChatRoomCreateAck(), EAthena::ChatRecv::processChatRoomJoinFailed(), EAthena::ChatRecv::processChatRoomLeave(), EAthena::ChatRecv::processChatRoomRoleChange(), EAthena::ChatRecv::processChatSilence(), EAthena::Mail2Recv::processCheckNameResult(), EAthena::MailRecv::processDeleteAck(), EAthena::FamilyRecv::processDivorced(), EAthena::ChatRecv::processFormatMessageNumber(), EAthena::MailRecv::processGetAttachment(), EAthena::GuildRecv::processGuildCreateResponse(), EAthena::GuildRecv::processGuildExpulsionContinue(), EAthena::GuildRecv::processGuildInviteAck(), EAthena::GuildRecv::processGuildLeave(), EAthena::GuildRecv::processGuildLeave2(), EAthena::HomunculusRecv::processHomunculusFood(), Ea::ChatRecv::processIgnoreAllResponse(), EAthena::ChatRecv::processIgnoreNickAck(), EAthena::InventoryRecv::processItemMoveFailed(), Ea::InventoryRecv::processItemUseResponse(), Ea::AdminRecv::processKickAck(), EAthena::MailRecv::processMailReturn(), EAthena::ChatRecv::processMannerMessage(), EAthena::BeingRecv::processMapType(), EAthena::MarketRecv::processMarketBuyAck(), Ea::ChatRecv::processMVPEffect(), EAthena::MailRecv::processNewMail(), EAthena::BuySellRecv::processNpcBuyResponse(), TmwAthena::BuySellRecv::processNpcBuyResponse(), Ea::BuySellRecv::processNpcSell(), EAthena::BuySellRecv::processNpcSellResponse(), TmwAthena::BuySellRecv::processNpcSellResponse(), EAthena::PartyRecv::processPartyAutoItemSettingsContinue(), Ea::PartyRecv::processPartyCreate(), Ea::PartyRecv::processPartyExpSettingsContinue(), EAthena::PartyRecv::processPartyInfo(), TmwAthena::PartyRecv::processPartyInfo(), EAthena::PartyRecv::processPartyInviteResponse(), TmwAthena::PartyRecv::processPartyInviteResponse(), Ea::PartyRecv::processPartyItemSettingsContinue(), Ea::PartyRecv::processPartyLeave(), EAthena::PartyRecv::processPartyMessage(), TmwAthena::PartyRecv::processPartyMessage(), EAthena::PetRecv::processPetCatchProcess(), EAthena::PetRecv::processPetFood(), EAthena::PetRecv::processPetRoulette(), Ea::PlayerRecv::processPlayerArrowMessage(), EAthena::InventoryRecv::processPlayerEquip(), TmwAthena::InventoryRecv::processPlayerEquip(), EAthena::InventoryRecv::processPlayerInsertCard(), EAthena::InventoryRecv::processPlayerInventoryRemove(), EAthena::InventoryRecv::processPlayerInventoryRemove2(), EAthena::InventoryRecv::processPlayerInventoryUse(), EAthena::InventoryRecv::processPlayerItemRentalExpired(), EAthena::InventoryRecv::processPlayerItemRentalTime(), EAthena::InventoryRecv::processPlayerRefine(), EAthena::PlayerRecv::processPlayerSkillMessage(), Ea::PlayerRecv::processPlayerStatUpdate4(), EAthena::InventoryRecv::processPlayerUnEquip(), EAthena::Mail2Recv::processRemoveItemResult(), EAthena::VendingRecv::processReport(), EAthena::Mail2Recv::processRequestItems(), EAthena::Mail2Recv::processRequestMoney(), EAthena::SearchStoreRecv::processSearchFailed(), EAthena::MailRecv::processSendMailAck(), EAthena::Mail2Recv::processSendResult(), EAthena::MailRecv::processSetAttachmentAck(), EAthena::SkillRecv::processSkillFailed(), TmwAthena::SkillRecv::processSkillFailed(), EAthena::SkillRecv::processSkillMemoMessage(), Ea::TradeRecv::processTradeCancel(), Ea::TradeRecv::processTradeComplete(), EAthena::TradeRecv::processTradeItemAddResponse(), TmwAthena::TradeRecv::processTradeItemAddResponse(), Ea::TradeRecv::processTradeResponseContinue(), Ea::GameRecv::processWhoAnswer(), PlayerInfo::setAttribute(), Map::setPvpMode(), EAthena::PlayerHandler::setStat(), TmwAthena::PlayerHandler::setStat(), PlayerInfo::setStatBase(), and PlayerInfo::setStatMod().
void NotifyManager::notify | ( | const unsigned int | message, |
const int | num | ||
) |
Definition at line 138 of file notifymanager.cpp.
References ChatMsgType::BY_SERVER, ChatTab::chatLog(), SoundDB::getSound(), IgnoreRecord_false, Actions::info(), NotifyFlags::INT, localChatTab, notifications, SoundManager::playSfx(), soundManager, strprintf(), TryRemoveColors_true, and NotifyTypes::TYPE_END.
void NotifyManager::notify | ( | const unsigned int | message, |
const std::string & | str | ||
) |
Definition at line 158 of file notifymanager.cpp.
References ChatMsgType::BY_SERVER, chatLog(), ChatTab::chatLog(), NotifyFlags::EMPTY, getGuildTab(), SoundDB::getSound(), Net::PartyHandler::getTab(), NotifyFlags::GUILD, NotifyFlags::GUILD_STRING, IgnoreRecord_false, Actions::info(), NotifyFlags::INT, localChatTab, notifications, NotifyFlags::PARTY, NotifyFlags::PARTY_STRING, partyHandler, SoundManager::playSfx(), soundManager, NotifyFlags::SPEECH, NotifyFlags::STRING, strprintf(), TryRemoveColors_true, and NotifyTypes::TYPE_END.
|
static |
Definition at line 35 of file notifications.h.
Referenced by getIndexBySound(), and notify().