![]() |
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, GossipOptionNpc optionNpc, std::string text, uint32 sender, uint32 action) |
| void TC_GAME_API | AddGossipItemFor (Player *player, GossipOptionNpc optionNpc, std::string text, uint32 sender, uint32 action, std::string popupText, uint64 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 30 of file ScriptedGossip.h.
| #define GOSSIP_TEXT_TRAIN "Train me!" |
Definition at line 31 of file ScriptedGossip.h.
| enum eTradeskill |
Definition at line 33 of file ScriptedGossip.h.
| void TC_GAME_API AddGossipItemFor | ( | Player * | player, |
| GossipOptionNpc | optionNpc, | ||
| std::string | text, | ||
| uint32 | sender, | ||
| uint32 | action | ||
| ) |
Definition at line 43 of file ScriptedGossip.cpp.
References None, 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_silverpine_bat_handler_maggotbreath::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(), Scripts::Kalimdor::Durotar::npc_mithaka::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_zm_field_scout::OnGossipHello(), go_amberpine_outhouse::go_amberpine_outhouseAI::OnGossipHello(), npc_engineering_tele_trinket::npc_engineering_tele_trinketAI::OnGossipHello(), npc_wormhole::npc_wormholeAI::OnGossipHello(), boss_gloomrel::boss_gloomrelAI::OnGossipSelect(), boss_doomrel::boss_doomrelAI::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_taretha::OnGossipSelect(), npc_chromie_start::npc_chromie_startAI::OnGossipSelect(), and npc_chromie_middle::npc_chromie_middleAI::OnGossipSelect().
| void TC_GAME_API AddGossipItemFor | ( | Player * | player, |
| GossipOptionNpc | optionNpc, | ||
| std::string | text, | ||
| uint32 | sender, | ||
| uint32 | action, | ||
| std::string | popupText, | ||
| uint64 | popupMoney, | ||
| bool | coded | ||
| ) |
Definition at line 49 of file ScriptedGossip.cpp.
References None, 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 Player::PlayerTalkClass.
| void TC_GAME_API ClearGossipMenuFor | ( | Player * | player | ) |
Definition at line 37 of file ScriptedGossip.cpp.
References 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_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(), go_hoo_the_makers_lift_controller::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::OnGossipSelect(), npc_brann_hos::OnGossipSelect(), npc_barada::npc_baradaAI::OnGossipSelect(), go_amberpine_outhouse::go_amberpine_outhouseAI::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.
Referenced by npc_essence_of_twin::OnGossipHello(), npc_sevis_brightflame_shivarra_gateway::OnGossipSelect(), npc_jayce_darkweaver_cryptic_hollow::OnGossipSelect(), boss_coren_direbrew::OnGossipSelect(), boss_victor_nefarius::OnGossipSelect(), boss_vaelastrasz::OnGossipSelect(), boss_apothecary_hummel::OnGossipSelect(), npc_master_mathias_shaw_human_heritage_lions_pride_inn_basement::OnGossipSelect(), Scripts::EasternKingdoms::StormwindCity::npc_jaina_proudmoore_tides_of_war::OnGossipSelect(), npc_selina_dourman::OnGossipSelect(), Scripts::Kalimdor::Durotar::npc_echo_isles_class_trainer< PitPos, QuestID >::OnGossipSelect(), Scripts::KhazAlgar::CampaignsVisionsOfAShadowedSun::npc_vereesa_windrunner_oztan_isle::OnGossipSelect(), npc_cyrus_crestfall_old_knight::OnGossipSelect(), npc_7th_legion_magus_sanctum_of_the_sages::OnGossipSelect(), npc_barrett_toc::OnGossipSelect(), npc_sylvanas_fos::OnGossipSelect(), npc_jaina_fos::OnGossipSelect(), npc_brann_bronzebeard_ulduar_intro::npc_brann_bronzebeard_ulduar_introAI::OnGossipSelect(), npc_lorekeeper::npc_lorekeeperAI::OnGossipSelect(), npc_wyrmrest_defender::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_baros_alexston::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_silverpine_bat_handler_maggotbreath::OnGossipSelect(), Scripts::EasternKingdoms::Westfall::npc_westfall_hobo_witness::OnGossipSelect(), npc_erozion::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_taretha::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::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(), npc_barada::npc_baradaAI::OnGossipSelect(), go_amberpine_outhouse::go_amberpine_outhouseAI::OnGossipSelect(), npc_wormhole::npc_wormholeAI::OnGossipSelect(), npc_chromie_start::npc_chromie_startAI::OnGossipSelect(), go_headless_horseman_pumpkin::OnGossipSelect(), go_silverpine_abandoned_outhouse::OnGossipSelect(), npc_silverpine_admiral_hatchet::OnGossipSelect(), npc_disciple_of_naralex::OnGossipSelect(), npc_engineer_spark_overgrind::npc_engineer_spark_overgrindAI::OnGossipSelect(), Scripts::Kalimdor::Durotar::npc_darkspear_jailor::OnGossipSelect(), Scripts::Kalimdor::Durotar::npc_voljin_garrosh_vision::OnGossipSelect(), Scripts::Kalimdor::Durotar::npc_voljin_thrall_vision::OnGossipSelect(), npc_zafod_boombox::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(), and go_midsummer_bonfire::go_midsummer_bonfireAI::OnGossipSelect().
| uint32 TC_GAME_API GetGossipActionFor | ( | Player * | player, |
| uint32 | gossipListId | ||
| ) |
Definition at line 27 of file ScriptedGossip.cpp.
References 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 Player::PlayerTalkClass.
| void TC_GAME_API InitGossipMenuFor | ( | Player * | player, |
| uint32 | menuId | ||
| ) |
Definition at line 32 of file ScriptedGossip.cpp.
References Player::PlayerTalkClass.
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_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(), Scripts::Kalimdor::Durotar::npc_mithaka::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_zm_field_scout::OnGossipHello(), npc_wormhole::npc_wormholeAI::OnGossipHello(), boss_doomrel::boss_doomrelAI::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_taretha::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 BaseEntity::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.
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_silverpine_bat_handler_maggotbreath::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_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::OnGossipHello(), Scripts::Kalimdor::Durotar::npc_mithaka::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_zm_field_scout::OnGossipHello(), npc_colonel_jules::npc_colonel_julesAI::OnGossipHello(), go_amberpine_outhouse::go_amberpine_outhouseAI::OnGossipHello(), npc_engineering_tele_trinket::npc_engineering_tele_trinketAI::OnGossipHello(), npc_wormhole::npc_wormholeAI::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_chromie_start::npc_chromie_startAI::OnGossipSelect(), npc_chromie_middle::npc_chromie_middleAI::OnGossipSelect(), and SendGossipMenuFor().