![]() |
TrinityCore
|
Include dependency graph for ScriptedGossip.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | GOSSIP_TEXT_BROWSE_GOODS "I'd like to browse your goods." |
| #define | GOSSIP_TEXT_TRAIN "Train me!" |
Functions | |
| uint32 TC_GAME_API | GetGossipSenderFor (Player *player, uint32 menuId) |
| uint32 TC_GAME_API | GetGossipActionFor (Player *player, uint32 gossipListId) |
| void TC_GAME_API | InitGossipMenuFor (Player *player, uint32 menuId) |
| void TC_GAME_API | ClearGossipMenuFor (Player *player) |
| void TC_GAME_API | AddGossipItemFor (Player *player, GossipOptionIcon icon, std::string const &text, uint32 sender, uint32 action) |
| void TC_GAME_API | AddGossipItemFor (Player *player, GossipOptionIcon icon, std::string const &text, uint32 sender, uint32 action, std::string const &popupText, uint32 popupMoney, bool coded) |
| void TC_GAME_API | AddGossipItemFor (Player *player, uint32 gossipMenuID, uint32 gossipMenuItemID, uint32 sender, uint32 action) |
| void TC_GAME_API | SendGossipMenuFor (Player *player, uint32 npcTextID, ObjectGuid const &guid) |
| void TC_GAME_API | SendGossipMenuFor (Player *player, uint32 npcTextID, Creature const *creature) |
| void TC_GAME_API | CloseGossipMenuFor (Player *player) |
| #define GOSSIP_TEXT_BROWSE_GOODS "I'd like to browse your goods." |
Definition at line 25 of file ScriptedGossip.h.
| #define GOSSIP_TEXT_TRAIN "Train me!" |
Definition at line 26 of file ScriptedGossip.h.
| enum eTradeskill |
Definition at line 28 of file ScriptedGossip.h.
| void TC_GAME_API AddGossipItemFor | ( | Player * | player, |
| GossipOptionIcon | icon, | ||
| std::string const & | text, | ||
| uint32 | sender, | ||
| uint32 | action | ||
| ) |
Definition at line 43 of file ScriptedGossip.cpp.
References GossipMenu::AddMenuItem(), PlayerMenu::GetGossipMenu(), and Player::PlayerTalkClass.
Referenced by npc_lokhtos_darkbargainer::npc_lokhtos_darkbargainerAI::OnGossipHello(), boss_gloomrel::boss_gloomrelAI::OnGossipHello(), boss_doomrel::boss_doomrelAI::OnGossipHello(), npc_barnes::OnGossipHello(), npc_death_knight_initiate::npc_death_knight_initiateAI::OnGossipHello(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::OnGossipHello(), npc_shadowfang_prisoner::npc_shadowfang_prisonerAI::OnGossipHello(), npc_zulaman_hostage::npc_zulaman_hostageAI::OnGossipHello(), npc_jaina_proudmoore::npc_jaina_proudmooreAI::OnGossipHello(), npc_thrall::npc_thrallAI::OnGossipHello(), npc_tyrande_whisperwind::npc_tyrande_whisperwindAI::OnGossipHello(), npc_chromie_start::npc_chromie_startAI::OnGossipHello(), npc_chromie_middle::npc_chromie_middleAI::OnGossipHello(), npc_erozion::OnGossipHello(), npc_thrall_old_hillsbrad::OnGossipHello(), npc_taretha::OnGossipHello(), npc_rizzle_sprysprocket::OnGossipHello(), npc_thrall_warchief::npc_thrall_warchiefAI::OnGossipHello(), go_wind_stone::go_wind_stoneAI::OnGossipHello(), npc_sergeant_bly::npc_sergeant_blyAI::OnGossipHello(), npc_weegli_blastfuse::npc_weegli_blastfuseAI::OnGossipHello(), npc_announcer_toc5::npc_announcer_toc5AI::OnGossipHello(), npc_brann_hos::OnGossipHello(), npc_wg_demolisher_engineer::OnGossipHello(), npc_wg_spirit_guide::OnGossipHello(), npc_wg_queue::OnGossipHello(), go_amberpine_outhouse::go_amberpine_outhouseAI::OnGossipHello(), npc_innkeeper::npc_innkeeperAI::OnGossipHello(), npc_prof_blacksmith::npc_prof_blacksmithAI::OnGossipHello(), npc_engineering_tele_trinket::npc_engineering_tele_trinketAI::OnGossipHello(), npc_prof_leather::npc_prof_leatherAI::OnGossipHello(), npc_prof_tailor::npc_prof_tailorAI::OnGossipHello(), npc_prof_alchemy::npc_prof_alchemyAI::OnGossipHello(), npc_wormhole::npc_wormholeAI::OnGossipHello(), npc_experience::npc_experienceAI::OnGossipHello(), boss_gloomrel::boss_gloomrelAI::OnGossipSelect(), boss_doomrel::boss_doomrelAI::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_taretha::OnGossipSelect(), npc_thrall_warchief::npc_thrall_warchiefAI::OnGossipSelect(), npc_chromie_start::npc_chromie_startAI::OnGossipSelect(), and npc_chromie_middle::npc_chromie_middleAI::OnGossipSelect().
| void TC_GAME_API AddGossipItemFor | ( | Player * | player, |
| GossipOptionIcon | icon, | ||
| std::string const & | text, | ||
| uint32 | sender, | ||
| uint32 | action, | ||
| std::string const & | popupText, | ||
| uint32 | popupMoney, | ||
| bool | coded | ||
| ) |
Definition at line 49 of file ScriptedGossip.cpp.
References GossipMenu::AddMenuItem(), PlayerMenu::GetGossipMenu(), and Player::PlayerTalkClass.
| void TC_GAME_API AddGossipItemFor | ( | Player * | player, |
| uint32 | gossipMenuID, | ||
| uint32 | gossipMenuItemID, | ||
| uint32 | sender, | ||
| uint32 | action | ||
| ) |
Definition at line 55 of file ScriptedGossip.cpp.
References GossipMenu::AddMenuItem(), PlayerMenu::GetGossipMenu(), and Player::PlayerTalkClass.
| void TC_GAME_API ClearGossipMenuFor | ( | Player * | player | ) |
Definition at line 37 of file ScriptedGossip.cpp.
References PlayerMenu::ClearMenus(), and Player::PlayerTalkClass.
Referenced by Creature::isCanInteractWithBattleMaster(), npc_jaina_or_sylvanas_intro_hor::npc_jaina_or_sylvanas_intro_horAI::OnGossipHello(), npc_lokhtos_darkbargainer::npc_lokhtos_darkbargainerAI::OnGossipSelect(), boss_gloomrel::boss_gloomrelAI::OnGossipSelect(), boss_doomrel::boss_doomrelAI::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_death_knight_initiate::npc_death_knight_initiateAI::OnGossipSelect(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::OnGossipSelect(), npc_shadowfang_prisoner::npc_shadowfang_prisonerAI::OnGossipSelect(), npc_zulaman_hostage::npc_zulaman_hostageAI::OnGossipSelect(), npc_jaina_proudmoore::npc_jaina_proudmooreAI::OnGossipSelect(), npc_thrall::npc_thrallAI::OnGossipSelect(), npc_tyrande_whisperwind::npc_tyrande_whisperwindAI::OnGossipSelect(), npc_erozion::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_taretha::OnGossipSelect(), npc_thrall_warchief::npc_thrall_warchiefAI::OnGossipSelect(), go_wind_stone::go_wind_stoneAI::OnGossipSelect(), npc_sergeant_bly::npc_sergeant_blyAI::OnGossipSelect(), npc_weegli_blastfuse::npc_weegli_blastfuseAI::OnGossipSelect(), npc_announcer_toc5::npc_announcer_toc5AI::OnGossipSelect(), npc_jaina_or_sylvanas_intro_hor::npc_jaina_or_sylvanas_intro_horAI::OnGossipSelect(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::OnGossipSelect(), icecrown_citadel_teleport::icecrown_citadel_teleportAI::OnGossipSelect(), npc_brann_hos::OnGossipSelect(), npc_barada::npc_baradaAI::OnGossipSelect(), go_amberpine_outhouse::go_amberpine_outhouseAI::OnGossipSelect(), npc_innkeeper::npc_innkeeperAI::OnGossipSelect(), npc_prof_blacksmith::npc_prof_blacksmithAI::OnGossipSelect(), npc_engineering_tele_trinket::npc_engineering_tele_trinketAI::OnGossipSelect(), npc_prof_leather::npc_prof_leatherAI::OnGossipSelect(), npc_prof_tailor::npc_prof_tailorAI::OnGossipSelect(), npc_prof_alchemy::npc_prof_alchemyAI::OnGossipSelect(), npc_wormhole::npc_wormholeAI::OnGossipSelect(), npc_chromie_start::npc_chromie_startAI::OnGossipSelect(), npc_chromie_middle::npc_chromie_middleAI::OnGossipSelect(), go_headless_horseman_pumpkin::OnGossipSelect(), and go_ahune_ice_stone::OnGossipSelect().
| void TC_GAME_API CloseGossipMenuFor | ( | Player * | player | ) |
Definition at line 71 of file ScriptedGossip.cpp.
References Player::PlayerTalkClass, and PlayerMenu::SendCloseGossip().
Referenced by npc_essence_of_twin::OnGossipHello(), boss_coren_direbrew::OnGossipSelect(), boss_victor_nefarius::OnGossipSelect(), boss_vaelastrasz::OnGossipSelect(), boss_apothecary_hummel::OnGossipSelect(), npc_harrison_jones::npc_harrison_jonesAI::OnGossipSelect(), npc_barrett_toc::OnGossipSelect(), npc_sylvanas_fos::OnGossipSelect(), npc_jaina_fos::OnGossipSelect(), npc_wyrmrest_defender::OnGossipSelect(), go_soothsaying_for_dummies::go_soothsaying_for_dummiesAI::OnGossipSelect(), npc_pet_trainer::npc_pet_trainerAI::OnGossipSelect(), boss_majordomo::OnGossipSelect(), npc_grandmother::OnGossipSelect(), npc_thalorien_dawnseeker::OnGossipSelect(), npc_andorov::OnGossipSelect(), npc_high_overlord_saurfang_icc::OnGossipSelect(), npc_muradin_bronzebeard_icc::OnGossipSelect(), npc_lokhtos_darkbargainer::npc_lokhtos_darkbargainerAI::OnGossipSelect(), boss_gloomrel::boss_gloomrelAI::OnGossipSelect(), boss_doomrel::boss_doomrelAI::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_death_knight_initiate::npc_death_knight_initiateAI::OnGossipSelect(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::OnGossipSelect(), npc_shadowfang_prisoner::npc_shadowfang_prisonerAI::OnGossipSelect(), npc_zulaman_hostage::npc_zulaman_hostageAI::OnGossipSelect(), npc_erozion::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_taretha::OnGossipSelect(), npc_thrall_warchief::npc_thrall_warchiefAI::OnGossipSelect(), npc_sergeant_bly::npc_sergeant_blyAI::OnGossipSelect(), npc_weegli_blastfuse::npc_weegli_blastfuseAI::OnGossipSelect(), npc_announcer_toc5::npc_announcer_toc5AI::OnGossipSelect(), icecrown_citadel_teleport::icecrown_citadel_teleportAI::OnGossipSelect(), npc_brann_hos::OnGossipSelect(), npc_expedition_commander::OnGossipSelect(), npc_thassarian::OnGossipSelect(), npc_wg_demolisher_engineer::OnGossipSelect(), npc_wg_spirit_guide::OnGossipSelect(), npc_akama_illidan::OnGossipSelect(), npc_akama_shade::OnGossipSelect(), go_amberpine_outhouse::go_amberpine_outhouseAI::OnGossipSelect(), npc_innkeeper::npc_innkeeperAI::OnGossipSelect(), npc_engineering_tele_trinket::npc_engineering_tele_trinketAI::OnGossipSelect(), npc_wormhole::npc_wormholeAI::OnGossipSelect(), npc_experience::npc_experienceAI::OnGossipSelect(), npc_chromie_start::npc_chromie_startAI::OnGossipSelect(), go_headless_horseman_pumpkin::OnGossipSelect(), npc_disciple_of_naralex::OnGossipSelect(), npc_rizzle_sprysprocket::OnGossipSelect(), npc_engineer_spark_overgrind::npc_engineer_spark_overgrindAI::OnGossipSelect(), npc_brann_bronzebeard_keystone::OnGossipSelect(), npc_wg_queue::OnGossipSelect(), npc_crusade_recruit::OnGossipSelect(), npc_alchemist_finklestein::OnGossipSelect(), go_ahune_ice_stone::OnGossipSelect(), go_apexis_relic::go_apexis_relicAI::OnGossipSelect(), npc_magister_aledis::npc_magister_aledisAI::OnGossipSelect(), go_midsummer_bonfire::go_midsummer_bonfireAI::OnGossipSelect(), ProcessCastaction(), ProcessUnlearnAction(), and npc_prof_blacksmith::npc_prof_blacksmithAI::SendActionMenu().
| uint32 TC_GAME_API GetGossipActionFor | ( | Player * | player, |
| uint32 | gossipListId | ||
| ) |
Definition at line 27 of file ScriptedGossip.cpp.
References PlayerMenu::GetGossipOptionAction(), and Player::PlayerTalkClass.
Referenced by npc_chromie_start::npc_chromie_startAI::OnGossipSelect(), npc_chromie_middle::npc_chromie_middleAI::OnGossipSelect(), and npc_arthas_stratholme::npc_arthas_stratholmeAI::OnGossipSelect().
| uint32 TC_GAME_API GetGossipSenderFor | ( | Player * | player, |
| uint32 | menuId | ||
| ) |
Definition at line 22 of file ScriptedGossip.cpp.
References PlayerMenu::GetGossipOptionSender(), and Player::PlayerTalkClass.
| void TC_GAME_API InitGossipMenuFor | ( | Player * | player, |
| uint32 | menuId | ||
| ) |
Definition at line 32 of file ScriptedGossip.cpp.
References PlayerMenu::GetGossipMenu(), Player::PlayerTalkClass, and GossipMenu::SetMenuId().
Referenced by npc_lokhtos_darkbargainer::npc_lokhtos_darkbargainerAI::OnGossipHello(), boss_doomrel::boss_doomrelAI::OnGossipHello(), npc_barnes::OnGossipHello(), npc_death_knight_initiate::npc_death_knight_initiateAI::OnGossipHello(), npc_shadowfang_prisoner::npc_shadowfang_prisonerAI::OnGossipHello(), npc_zulaman_hostage::npc_zulaman_hostageAI::OnGossipHello(), npc_jaina_proudmoore::npc_jaina_proudmooreAI::OnGossipHello(), npc_thrall::npc_thrallAI::OnGossipHello(), npc_tyrande_whisperwind::npc_tyrande_whisperwindAI::OnGossipHello(), npc_chromie_start::npc_chromie_startAI::OnGossipHello(), npc_chromie_middle::npc_chromie_middleAI::OnGossipHello(), npc_erozion::OnGossipHello(), npc_thrall_old_hillsbrad::OnGossipHello(), npc_taretha::OnGossipHello(), npc_rizzle_sprysprocket::OnGossipHello(), npc_thrall_warchief::npc_thrall_warchiefAI::OnGossipHello(), go_wind_stone::go_wind_stoneAI::OnGossipHello(), npc_sergeant_bly::npc_sergeant_blyAI::OnGossipHello(), npc_weegli_blastfuse::npc_weegli_blastfuseAI::OnGossipHello(), npc_announcer_toc5::npc_announcer_toc5AI::OnGossipHello(), npc_brann_hos::OnGossipHello(), npc_innkeeper::npc_innkeeperAI::OnGossipHello(), npc_wormhole::npc_wormholeAI::OnGossipHello(), npc_experience::npc_experienceAI::OnGossipHello(), boss_doomrel::boss_doomrelAI::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_taretha::OnGossipSelect(), npc_thrall_warchief::npc_thrall_warchiefAI::OnGossipSelect(), npc_chromie_start::npc_chromie_startAI::OnGossipSelect(), and npc_chromie_middle::npc_chromie_middleAI::OnGossipSelect().
| void TC_GAME_API SendGossipMenuFor | ( | Player * | player, |
| uint32 | npcTextID, | ||
| Creature const * | creature | ||
| ) |
Definition at line 65 of file ScriptedGossip.cpp.
References Object::GetGUID(), and SendGossipMenuFor().
| void TC_GAME_API SendGossipMenuFor | ( | Player * | player, |
| uint32 | npcTextID, | ||
| ObjectGuid const & | guid | ||
| ) |
Definition at line 60 of file ScriptedGossip.cpp.
References Player::PlayerTalkClass, and PlayerMenu::SendGossipMenu().
Referenced by Creature::isCanInteractWithBattleMaster(), npc_lokhtos_darkbargainer::npc_lokhtos_darkbargainerAI::OnGossipHello(), boss_gloomrel::boss_gloomrelAI::OnGossipHello(), boss_doomrel::boss_doomrelAI::OnGossipHello(), npc_barnes::OnGossipHello(), npc_death_knight_initiate::npc_death_knight_initiateAI::OnGossipHello(), npc_koltira_deathweaver::OnGossipHello(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::OnGossipHello(), npc_shadowfang_prisoner::npc_shadowfang_prisonerAI::OnGossipHello(), npc_zulaman_hostage::npc_zulaman_hostageAI::OnGossipHello(), npc_jaina_proudmoore::npc_jaina_proudmooreAI::OnGossipHello(), npc_thrall::npc_thrallAI::OnGossipHello(), npc_tyrande_whisperwind::npc_tyrande_whisperwindAI::OnGossipHello(), npc_chromie_start::npc_chromie_startAI::OnGossipHello(), npc_chromie_middle::npc_chromie_middleAI::OnGossipHello(), npc_erozion::OnGossipHello(), npc_thrall_old_hillsbrad::OnGossipHello(), npc_taretha::OnGossipHello(), npc_rizzle_sprysprocket::OnGossipHello(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::OnGossipHello(), npc_thrall_warchief::npc_thrall_warchiefAI::OnGossipHello(), go_wind_stone::go_wind_stoneAI::OnGossipHello(), npc_sergeant_bly::npc_sergeant_blyAI::OnGossipHello(), npc_weegli_blastfuse::npc_weegli_blastfuseAI::OnGossipHello(), npc_announcer_toc5::npc_announcer_toc5AI::OnGossipHello(), npc_brann_hos::OnGossipHello(), npc_wg_demolisher_engineer::OnGossipHello(), npc_wg_spirit_guide::OnGossipHello(), npc_wg_queue::OnGossipHello(), npc_colonel_jules::npc_colonel_julesAI::OnGossipHello(), go_amberpine_outhouse::go_amberpine_outhouseAI::OnGossipHello(), npc_innkeeper::npc_innkeeperAI::OnGossipHello(), npc_prof_blacksmith::npc_prof_blacksmithAI::OnGossipHello(), npc_engineering_tele_trinket::npc_engineering_tele_trinketAI::OnGossipHello(), npc_prof_leather::npc_prof_leatherAI::OnGossipHello(), npc_prof_tailor::npc_prof_tailorAI::OnGossipHello(), npc_prof_alchemy::npc_prof_alchemyAI::OnGossipHello(), npc_wormhole::npc_wormholeAI::OnGossipHello(), npc_experience::npc_experienceAI::OnGossipHello(), boss_gloomrel::boss_gloomrelAI::OnGossipSelect(), boss_doomrel::boss_doomrelAI::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_tyrande_whisperwind::npc_tyrande_whisperwindAI::OnGossipSelect(), npc_erozion::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_taretha::OnGossipSelect(), npc_thrall_warchief::npc_thrall_warchiefAI::OnGossipSelect(), npc_chromie_start::npc_chromie_startAI::OnGossipSelect(), npc_chromie_middle::npc_chromie_middleAI::OnGossipSelect(), npc_prof_blacksmith::npc_prof_blacksmithAI::SendActionMenu(), and SendGossipMenuFor().