AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ScriptedGossip.h File Reference
#include "GossipDef.h"
#include "QuestDef.h"

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!"
 

Enumerations

enum  eTradeskill {
  TRADESKILL_ALCHEMY = 1 ,
  TRADESKILL_BLACKSMITHING = 2 ,
  TRADESKILL_COOKING = 3 ,
  TRADESKILL_ENCHANTING = 4 ,
  TRADESKILL_ENGINEERING = 5 ,
  TRADESKILL_FIRSTAID = 6 ,
  TRADESKILL_HERBALISM = 7 ,
  TRADESKILL_LEATHERWORKING = 8 ,
  TRADESKILL_POISONS = 9 ,
  TRADESKILL_TAILORING = 10 ,
  TRADESKILL_MINING = 11 ,
  TRADESKILL_FISHING = 12 ,
  TRADESKILL_SKINNING = 13 ,
  TRADESKILL_JEWLCRAFTING = 14 ,
  TRADESKILL_INSCRIPTION = 15 ,
  TRADESKILL_LEVEL_NONE = 0 ,
  TRADESKILL_LEVEL_APPRENTICE = 1 ,
  TRADESKILL_LEVEL_JOURNEYMAN = 2 ,
  TRADESKILL_LEVEL_EXPERT = 3 ,
  TRADESKILL_LEVEL_ARTISAN = 4 ,
  TRADESKILL_LEVEL_MASTER = 5 ,
  TRADESKILL_LEVEL_GRAND_MASTER = 6 ,
  GOSSIP_ACTION_TRADE = 1 ,
  GOSSIP_ACTION_TRAIN = 2 ,
  GOSSIP_ACTION_TAXI = 3 ,
  GOSSIP_ACTION_GUILD = 4 ,
  GOSSIP_ACTION_BATTLE = 5 ,
  GOSSIP_ACTION_BANK = 6 ,
  GOSSIP_ACTION_INN = 7 ,
  GOSSIP_ACTION_HEAL = 8 ,
  GOSSIP_ACTION_TABARD = 9 ,
  GOSSIP_ACTION_AUCTION = 10 ,
  GOSSIP_ACTION_INN_INFO = 11 ,
  GOSSIP_ACTION_UNLEARN = 12 ,
  GOSSIP_ACTION_INFO_DEF = 1000 ,
  GOSSIP_SENDER_MAIN = 1 ,
  GOSSIP_SENDER_INN_INFO = 2 ,
  GOSSIP_SENDER_INFO = 3 ,
  GOSSIP_SENDER_SEC_PROFTRAIN = 4 ,
  GOSSIP_SENDER_SEC_CLASSTRAIN = 5 ,
  GOSSIP_SENDER_SEC_BATTLEINFO = 6 ,
  GOSSIP_SENDER_SEC_BANK = 7 ,
  GOSSIP_SENDER_SEC_INN = 8 ,
  GOSSIP_SENDER_SEC_MAILBOX = 9 ,
  GOSSIP_SENDER_SEC_STABLEMASTER = 10
}
 

Functions

void ClearGossipMenuFor (Player *player)
 
void AddGossipItemFor (Player *player, uint32 icon, std::string const &text, uint32 sender, uint32 action)
 
void AddGossipItemFor (Player *player, uint32 icon, std::string const &text, uint32 sender, uint32 action, std::string const &popupText, uint32 popupMoney, bool coded)
 
void AddGossipItemFor (Player *player, uint32 gossipMenuID, uint32 gossipMenuItemID, uint32 sender, uint32 action, uint32 boxMoney=0)
 
void SendGossipMenuFor (Player *player, uint32 npcTextID, ObjectGuid const guid)
 
void SendGossipMenuFor (Player *player, uint32 npcTextID, Creature const *creature)
 
void CloseGossipMenuFor (Player *player)
 

Macro Definition Documentation

◆ GOSSIP_TEXT_BROWSE_GOODS

#define GOSSIP_TEXT_BROWSE_GOODS   "I'd like to browse your goods."

◆ GOSSIP_TEXT_TRAIN

#define GOSSIP_TEXT_TRAIN   "Train me!"

Enumeration Type Documentation

◆ eTradeskill

Enumerator
TRADESKILL_ALCHEMY 
TRADESKILL_BLACKSMITHING 
TRADESKILL_COOKING 
TRADESKILL_ENCHANTING 
TRADESKILL_ENGINEERING 
TRADESKILL_FIRSTAID 
TRADESKILL_HERBALISM 
TRADESKILL_LEATHERWORKING 
TRADESKILL_POISONS 
TRADESKILL_TAILORING 
TRADESKILL_MINING 
TRADESKILL_FISHING 
TRADESKILL_SKINNING 
TRADESKILL_JEWLCRAFTING 
TRADESKILL_INSCRIPTION 
TRADESKILL_LEVEL_NONE 
TRADESKILL_LEVEL_APPRENTICE 
TRADESKILL_LEVEL_JOURNEYMAN 
TRADESKILL_LEVEL_EXPERT 
TRADESKILL_LEVEL_ARTISAN 
TRADESKILL_LEVEL_MASTER 
TRADESKILL_LEVEL_GRAND_MASTER 
GOSSIP_ACTION_TRADE 
GOSSIP_ACTION_TRAIN 
GOSSIP_ACTION_TAXI 
GOSSIP_ACTION_GUILD 
GOSSIP_ACTION_BATTLE 
GOSSIP_ACTION_BANK 
GOSSIP_ACTION_INN 
GOSSIP_ACTION_HEAL 
GOSSIP_ACTION_TABARD 
GOSSIP_ACTION_AUCTION 
GOSSIP_ACTION_INN_INFO 
GOSSIP_ACTION_UNLEARN 
GOSSIP_ACTION_INFO_DEF 
GOSSIP_SENDER_MAIN 
GOSSIP_SENDER_INN_INFO 
GOSSIP_SENDER_INFO 
GOSSIP_SENDER_SEC_PROFTRAIN 
GOSSIP_SENDER_SEC_CLASSTRAIN 
GOSSIP_SENDER_SEC_BATTLEINFO 
GOSSIP_SENDER_SEC_BANK 
GOSSIP_SENDER_SEC_INN 
GOSSIP_SENDER_SEC_MAILBOX 
GOSSIP_SENDER_SEC_STABLEMASTER 
29{
30 // Skill defines
46
54
55 // Gossip defines
69
80};
@ TRADESKILL_LEATHERWORKING
Definition: ScriptedGossip.h:38
@ GOSSIP_SENDER_SEC_BATTLEINFO
Definition: ScriptedGossip.h:75
@ TRADESKILL_LEVEL_GRAND_MASTER
Definition: ScriptedGossip.h:53
@ TRADESKILL_JEWLCRAFTING
Definition: ScriptedGossip.h:44
@ GOSSIP_SENDER_SEC_STABLEMASTER
Definition: ScriptedGossip.h:79
@ GOSSIP_ACTION_TAXI
Definition: ScriptedGossip.h:58
@ GOSSIP_SENDER_SEC_CLASSTRAIN
Definition: ScriptedGossip.h:74
@ GOSSIP_SENDER_SEC_BANK
Definition: ScriptedGossip.h:76
@ GOSSIP_SENDER_SEC_MAILBOX
Definition: ScriptedGossip.h:78
@ TRADESKILL_FIRSTAID
Definition: ScriptedGossip.h:36
@ TRADESKILL_ALCHEMY
Definition: ScriptedGossip.h:31
@ TRADESKILL_LEVEL_EXPERT
Definition: ScriptedGossip.h:50
@ GOSSIP_ACTION_BATTLE
Definition: ScriptedGossip.h:60
@ GOSSIP_ACTION_GUILD
Definition: ScriptedGossip.h:59
@ GOSSIP_SENDER_MAIN
Definition: ScriptedGossip.h:70
@ TRADESKILL_SKINNING
Definition: ScriptedGossip.h:43
@ TRADESKILL_MINING
Definition: ScriptedGossip.h:41
@ GOSSIP_ACTION_INN
Definition: ScriptedGossip.h:62
@ TRADESKILL_TAILORING
Definition: ScriptedGossip.h:40
@ GOSSIP_ACTION_TABARD
Definition: ScriptedGossip.h:64
@ GOSSIP_ACTION_BANK
Definition: ScriptedGossip.h:61
@ TRADESKILL_LEVEL_JOURNEYMAN
Definition: ScriptedGossip.h:49
@ GOSSIP_ACTION_HEAL
Definition: ScriptedGossip.h:63
@ TRADESKILL_LEVEL_ARTISAN
Definition: ScriptedGossip.h:51
@ GOSSIP_ACTION_TRADE
Definition: ScriptedGossip.h:56
@ TRADESKILL_BLACKSMITHING
Definition: ScriptedGossip.h:32
@ GOSSIP_SENDER_INN_INFO
Definition: ScriptedGossip.h:71
@ TRADESKILL_INSCRIPTION
Definition: ScriptedGossip.h:45
@ GOSSIP_ACTION_AUCTION
Definition: ScriptedGossip.h:65
@ GOSSIP_ACTION_UNLEARN
Definition: ScriptedGossip.h:67
@ TRADESKILL_LEVEL_MASTER
Definition: ScriptedGossip.h:52
@ TRADESKILL_LEVEL_NONE
Definition: ScriptedGossip.h:47
@ TRADESKILL_COOKING
Definition: ScriptedGossip.h:33
@ GOSSIP_ACTION_TRAIN
Definition: ScriptedGossip.h:57
@ TRADESKILL_HERBALISM
Definition: ScriptedGossip.h:37
@ TRADESKILL_ENCHANTING
Definition: ScriptedGossip.h:34
@ GOSSIP_SENDER_SEC_INN
Definition: ScriptedGossip.h:77
@ TRADESKILL_POISONS
Definition: ScriptedGossip.h:39
@ GOSSIP_ACTION_INN_INFO
Definition: ScriptedGossip.h:66
@ TRADESKILL_FISHING
Definition: ScriptedGossip.h:42
@ TRADESKILL_LEVEL_APPRENTICE
Definition: ScriptedGossip.h:48
@ GOSSIP_ACTION_INFO_DEF
Definition: ScriptedGossip.h:68
@ GOSSIP_SENDER_SEC_PROFTRAIN
Definition: ScriptedGossip.h:73
@ GOSSIP_SENDER_INFO
Definition: ScriptedGossip.h:72
@ TRADESKILL_ENGINEERING
Definition: ScriptedGossip.h:35

Function Documentation

◆ AddGossipItemFor() [1/3]

void AddGossipItemFor ( Player player,
uint32  gossipMenuID,
uint32  gossipMenuItemID,
uint32  sender,
uint32  action,
uint32  boxMoney = 0 
)
41{
42 player->PlayerTalkClass->GetGossipMenu().AddMenuItem(gossipMenuID, gossipMenuItemID, sender, action, boxMoney);
43}
void AddMenuItem(int32 menuItemId, uint8 icon, std::string const &message, uint32 sender, uint32 action, std::string const &boxMessage, uint32 boxMoney, bool coded=false)
Definition: GossipDef.cpp:41
GossipMenu & GetGossipMenu()
Definition: GossipDef.h:263
PlayerMenu * PlayerTalkClass
Definition: Player.h:2201

References GossipMenu::AddMenuItem(), PlayerMenu::GetGossipMenu(), and Player::PlayerTalkClass.

◆ AddGossipItemFor() [2/3]

void AddGossipItemFor ( Player player,
uint32  icon,
std::string const &  text,
uint32  sender,
uint32  action 
)
29{
30 player->PlayerTalkClass->GetGossipMenu().AddMenuItem(-1, icon, text, sender, action, "", 0);
31}

References GossipMenu::AddMenuItem(), PlayerMenu::GetGossipMenu(), and Player::PlayerTalkClass.

Referenced by npc_pet_gen_argent_pony_bridle::OnGossipHello(), npc_lokhtos_darkbargainer::OnGossipHello(), boss_gloomrel::OnGossipHello(), boss_doomrel::OnGossipHello(), boss_majordomo::OnGossipHello(), npc_grandmother::OnGossipHello(), npc_barnes::OnGossipHello(), npc_death_knight_initiate::OnGossipHello(), npc_highlord_darion_mograine::OnGossipHello(), npc_augustus_the_touched::OnGossipHello(), npc_parqual_fintallas::OnGossipHello(), npc_varian_wrynn::OnGossipHello(), npc_thrall_bfu::OnGossipHello(), npc_zulaman_hostage::OnGossipHello(), npc_jaina_proudmoore::OnGossipHello(), npc_thrall::OnGossipHello(), npc_tyrande_whisperwind::OnGossipHello(), npc_arthas::OnGossipHello(), npc_rizzle_sprysprocket::OnGossipHello(), npcs_riverbreeze_and_silversky::OnGossipHello(), npc_bunthen_plainswind::OnGossipHello(), npc_great_bear_spirit::OnGossipHello(), npc_silva_filnaveth::OnGossipHello(), npc_thrall_warchief::OnGossipHello(), npc_braug_dimspirit::OnGossipHello(), npc_steward_of_time::OnGossipHello(), npc_stone_watcher_of_norgannon::OnGossipHello(), npc_plucky::OnGossipHello(), npc_rivern_frostwind::OnGossipHello(), npc_announcer_toc5::OnGossipHello(), npc_announcer_toc10::OnGossipHello(), npc_fos_leader::OnGossipHello(), npc_hor_leader::OnGossipHello(), npc_high_overlord_saurfang_icc::OnGossipHello(), npc_muradin_bronzebeard_icc::OnGossipHello(), npc_oculus_drakegiver::OnGossipHello(), brann_bronzebeard::OnGossipHello(), npc_ulduar_expedition_commander::OnGossipHello(), npc_ulduar_keeper::OnGossipHello(), npc_vh_sinclari::OnGossipHello(), npc_iruk::OnGossipHello(), npc_shandy_dalaran::OnGossipHello(), npc_razael_and_lyana::OnGossipHello(), npc_mcmanus::OnGossipHello(), npc_vekjik::OnGossipHello(), npc_avatar_of_freya::OnGossipHello(), npc_adventurous_dwarf::OnGossipHello(), npc_roxi_ramrocket::OnGossipHello(), npc_wg_demolisher_engineer::OnGossipHello(), npc_wg_spirit_guide::OnGossipHello(), npc_wg_queue::OnGossipHello(), npc_wg_quest_giver::OnGossipHello(), npc_finklestein::OnGossipHello(), npc_captain_saeed::OnGossipHello(), npc_drake_dealer_hurlunk::OnGossipHello(), npcs_flanis_swiftwing_and_kagrosh::OnGossipHello(), npc_shattrathflaskvendors::OnGossipHello(), npc_zephyr::OnGossipHello(), npc_slim::OnGossipHello(), npc_innkeeper::OnGossipHello(), npc_prof_alchemy::OnGossipHello(), npc_prof_blacksmith::OnGossipHello(), npc_engineering_tele_trinket::OnGossipHello(), npc_prof_leather::OnGossipHello(), npc_prof_tailor::OnGossipHello(), npc_artorius::OnGossipHello(), npc_simone::OnGossipHello(), npc_nelson::OnGossipHello(), npc_franklin::OnGossipHello(), npc_taxi::OnGossipHello(), npc_sayge::OnGossipHello(), npc_wormhole::OnGossipHello(), npc_locksmith::OnGossipHello(), npc_experience::OnGossipHello(), go_evil_book_for_dummies::OnGossipHello(), icecrown_citadel_teleport::OnGossipHello(), go_ahune_ice_stone::OnGossipHello(), go_skull_pile::OnGossipHello(), go_fel_crystalforge::OnGossipHello(), go_bashir_crystalforge::OnGossipHello(), go_amberpine_outhouse::OnGossipHello(), boss_gloomrel::OnGossipSelect(), boss_doomrel::OnGossipSelect(), boss_majordomo::OnGossipSelect(), npc_grandmother::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_arthas::OnGossipSelect(), npc_great_bear_spirit::OnGossipSelect(), npc_thrall_warchief::OnGossipSelect(), npc_stone_watcher_of_norgannon::OnGossipSelect(), npc_ulduar_keeper::OnGossipSelect(), npc_vekjik::OnGossipSelect(), npc_avatar_of_freya::OnGossipSelect(), npc_prof_leather::OnGossipSelect(), npc_oculus_drakegiver::OnGossipSelect(), go_fel_crystalforge::OnGossipSelect(), go_bashir_crystalforge::OnGossipSelect(), npc_sayge::SendAction(), npc_prof_alchemy::SendConfirmLearn(), npc_prof_blacksmith::SendConfirmLearn(), npc_prof_tailor::SendConfirmLearn(), go_evil_book_for_dummies::SendConfirmLearn(), npc_prof_alchemy::SendConfirmUnlearn(), npc_prof_blacksmith::SendConfirmUnlearn(), npc_prof_tailor::SendConfirmUnlearn(), go_evil_book_for_dummies::SendConfirmUnlearn(), npc_echo_of_medivh::sGossipHello(), npc_chesspiece::sGossipHello(), npc_sergeant_bly::npc_sergeant_blyAI::sGossipHello(), and npc_weegli_blastfuse::npc_weegli_blastfuseAI::sGossipHello().

◆ AddGossipItemFor() [3/3]

void AddGossipItemFor ( Player player,
uint32  icon,
std::string const &  text,
uint32  sender,
uint32  action,
std::string const &  popupText,
uint32  popupMoney,
bool  coded 
)
35{
36 player->PlayerTalkClass->GetGossipMenu().AddMenuItem(-1, icon, text, sender, action, popupText, popupMoney, coded);
37}

References GossipMenu::AddMenuItem(), PlayerMenu::GetGossipMenu(), and Player::PlayerTalkClass.

◆ ClearGossipMenuFor()

void ClearGossipMenuFor ( Player player)
23{
24 player->PlayerTalkClass->ClearMenus();
25}
void ClearMenus()
Definition: GossipDef.cpp:187

References PlayerMenu::ClearMenus(), and Player::PlayerTalkClass.

Referenced by ScriptMgr::GetDialogStatus(), Creature::isCanInteractWithBattleMaster(), ScriptMgr::OnGossipHello(), npc_prof_leather::OnGossipHello(), npc_steward_of_time::OnGossipSelect(), npc_plucky::OnGossipSelect(), npc_iruk::OnGossipSelect(), npcs_flanis_swiftwing_and_kagrosh::OnGossipSelect(), npc_zephyr::OnGossipSelect(), npc_taxi::OnGossipSelect(), npc_locksmith::OnGossipSelect(), npc_experience::OnGossipSelect(), npc_prof_alchemy::OnGossipSelect(), npc_prof_blacksmith::OnGossipSelect(), npc_engineering_tele_trinket::OnGossipSelect(), npc_prof_tailor::OnGossipSelect(), npc_sayge::OnGossipSelect(), npc_lokhtos_darkbargainer::OnGossipSelect(), boss_gloomrel::OnGossipSelect(), boss_doomrel::OnGossipSelect(), boss_majordomo::OnGossipSelect(), npc_grandmother::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_death_knight_initiate::OnGossipSelect(), npc_highlord_darion_mograine::OnGossipSelect(), npc_augustus_the_touched::OnGossipSelect(), npc_parqual_fintallas::OnGossipSelect(), npc_varian_wrynn::OnGossipSelect(), npc_thrall_bfu::OnGossipSelect(), npc_zulaman_hostage::OnGossipSelect(), npc_jaina_proudmoore::OnGossipSelect(), npc_thrall::OnGossipSelect(), npc_tyrande_whisperwind::OnGossipSelect(), npc_arthas::OnGossipSelect(), npcs_riverbreeze_and_silversky::OnGossipSelect(), npc_bunthen_plainswind::OnGossipSelect(), npc_great_bear_spirit::OnGossipSelect(), npc_silva_filnaveth::OnGossipSelect(), npc_thrall_warchief::OnGossipSelect(), npc_braug_dimspirit::OnGossipSelect(), npc_stone_watcher_of_norgannon::OnGossipSelect(), npc_rivern_frostwind::OnGossipSelect(), npc_high_overlord_saurfang_icc::OnGossipSelect(), npc_muradin_bronzebeard_icc::OnGossipSelect(), npc_ulduar_keeper::OnGossipSelect(), npc_razael_and_lyana::OnGossipSelect(), npc_vekjik::OnGossipSelect(), npc_avatar_of_freya::OnGossipSelect(), npc_adventurous_dwarf::OnGossipSelect(), npc_roxi_ramrocket::OnGossipSelect(), npc_wg_quest_giver::OnGossipSelect(), npc_drake_dealer_hurlunk::OnGossipSelect(), npc_shattrathflaskvendors::OnGossipSelect(), npc_slim::OnGossipSelect(), npc_innkeeper::OnGossipSelect(), npc_prof_leather::OnGossipSelect(), npc_wormhole::OnGossipSelect(), npc_fos_leader::OnGossipSelect(), npc_hor_leader::OnGossipSelect(), npc_oculus_drakegiver::OnGossipSelect(), npc_vh_sinclari::OnGossipSelect(), npc_captain_saeed::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_hor_leader_second::OnGossipSelect(), icecrown_citadel_teleport::OnGossipSelect(), go_amberpine_outhouse::OnGossipSelect(), go_evil_book_for_dummies::OnGossipSelect(), go_skull_pile::OnGossipSelect(), go_fel_crystalforge::OnGossipSelect(), go_bashir_crystalforge::OnGossipSelect(), ScriptMgr::OnQuestAccept(), ScriptMgr::OnQuestComplete(), ScriptMgr::OnQuestReward(), ScriptMgr::OnQuestSelect(), npc_sergeant_bly::npc_sergeant_blyAI::sGossipSelect(), and npc_weegli_blastfuse::npc_weegli_blastfuseAI::sGossipSelect().

◆ CloseGossipMenuFor()

void CloseGossipMenuFor ( Player player)
57{
59}
void SendCloseGossip()
Definition: GossipDef.cpp:241

References Player::PlayerTalkClass, and PlayerMenu::SendCloseGossip().

Referenced by go_wind_stone::go_wind_stoneAI::GossipSelect(), npc_essence_of_twin::OnGossipHello(), npc_plucky::OnGossipSelect(), npc_iruk::OnGossipSelect(), npc_wg_spirit_guide::OnGossipSelect(), npcs_flanis_swiftwing_and_kagrosh::OnGossipSelect(), npc_taxi::OnGossipSelect(), npc_locksmith::OnGossipSelect(), npc_wg_queue::OnGossipSelect(), npc_engineering_tele_trinket::OnGossipSelect(), npc_pet_gen_argent_pony_bridle::OnGossipSelect(), npc_lokhtos_darkbargainer::OnGossipSelect(), boss_gloomrel::OnGossipSelect(), boss_doomrel::OnGossipSelect(), boss_majordomo::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_death_knight_initiate::OnGossipSelect(), npc_highlord_darion_mograine::OnGossipSelect(), npc_parqual_fintallas::OnGossipSelect(), npc_varian_wrynn::OnGossipSelect(), npc_thrall_bfu::OnGossipSelect(), npc_zulaman_hostage::OnGossipSelect(), npc_arthas::OnGossipSelect(), npcs_riverbreeze_and_silversky::OnGossipSelect(), npc_bunthen_plainswind::OnGossipSelect(), npc_silva_filnaveth::OnGossipSelect(), npc_thrall_warchief::OnGossipSelect(), npc_braug_dimspirit::OnGossipSelect(), npc_stone_watcher_of_norgannon::OnGossipSelect(), npc_high_overlord_saurfang_icc::OnGossipSelect(), npc_muradin_bronzebeard_icc::OnGossipSelect(), brann_bronzebeard::OnGossipSelect(), npc_ulduar_keeper::OnGossipSelect(), npc_shandy_dalaran::OnGossipSelect(), npc_vekjik::OnGossipSelect(), npc_avatar_of_freya::OnGossipSelect(), npc_wg_demolisher_engineer::OnGossipSelect(), npc_innkeeper::OnGossipSelect(), npc_wormhole::OnGossipSelect(), npc_announcer_toc5::OnGossipSelect(), npc_announcer_toc10::OnGossipSelect(), npc_fos_leader::OnGossipSelect(), npc_hor_leader::OnGossipSelect(), npc_oculus_drakegiver::OnGossipSelect(), npc_vh_sinclari::OnGossipSelect(), npc_mcmanus::OnGossipSelect(), npc_finklestein::OnGossipSelect(), npc_captain_saeed::OnGossipSelect(), boss_azuregos::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_icc_buff_switcher::OnGossipSelect(), npc_tirions_gambit_tirion::OnGossipSelect(), npc_artorius::OnGossipSelect(), npc_simone::OnGossipSelect(), npc_nelson::OnGossipSelect(), npc_franklin::OnGossipSelect(), icecrown_citadel_teleport::OnGossipSelect(), go_amberpine_outhouse::OnGossipSelect(), go_midsummer_bonfire::OnGossipSelect(), go_skull_pile::OnGossipSelect(), go_ahune_ice_stone::OnGossipSelect(), go_pumpkin_shrine::OnGossipSelect(), go_apexis_relic::OnGossipSelect(), ProcessCastaction(), ProcessUnlearnAction(), boss_apothecary_hummel::boss_apothecary_hummelAI::sGossipSelect(), npc_coren_direbrew::sGossipSelect(), boss_victor_nefarius::boss_victor_nefariusAI::sGossipSelect(), boss_vaelastrasz::boss_vaelAI::sGossipSelect(), npc_harrison_jones::npc_harrison_jonesAI::sGossipSelect(), npc_brewfest_keg_reciver::sGossipSelect(), npc_thassarian2::npc_thassarian2AI::sGossipSelect(), npc_akama_shade::sGossipSelect(), npc_echo_of_medivh::sGossipSelect(), npc_chesspiece::sGossipSelect(), npc_tharnarian::npc_tharnarianAI::sGossipSelect(), npc_sergeant_bly::npc_sergeant_blyAI::sGossipSelect(), npc_weegli_blastfuse::npc_weegli_blastfuseAI::sGossipSelect(), npc_hidden_cultist::npc_hidden_cultistAI::sGossipSelect(), npc_general_andorov::sGossipSelect(), npc_rizzle_sprysprocket::npc_rizzle_sprysprocketAI::sGossipSelect(), npc_crusade_recruit::npc_crusade_recruitAI::sGossipSelect(), npc_akama_illidan::npc_akama_illidanAI::sGossipSelect(), and npc_magister_aledis::sGossipSelect().

◆ SendGossipMenuFor() [1/2]

void SendGossipMenuFor ( Player player,
uint32  npcTextID,
Creature const *  creature 
)
51{
52 if (creature)
53 SendGossipMenuFor(player, npcTextID, creature->GetGUID());
54}
void SendGossipMenuFor(Player *player, uint32 npcTextID, ObjectGuid const guid)
Definition: ScriptedGossip.cpp:45

References Object::GetGUID(), and SendGossipMenuFor().

◆ SendGossipMenuFor() [2/2]

void SendGossipMenuFor ( Player player,
uint32  npcTextID,
ObjectGuid const  guid 
)
46{
47 player->PlayerTalkClass->SendGossipMenu(npcTextID, guid);
48}
void SendGossipMenu(uint32 titleTextId, ObjectGuid objectGUID)
Definition: GossipDef.cpp:193

References Player::PlayerTalkClass, and PlayerMenu::SendGossipMenu().

Referenced by Creature::isCanInteractWithBattleMaster(), npc_pet_gen_argent_pony_bridle::OnGossipHello(), npc_lokhtos_darkbargainer::OnGossipHello(), boss_gloomrel::OnGossipHello(), boss_doomrel::OnGossipHello(), boss_majordomo::OnGossipHello(), npc_grandmother::OnGossipHello(), npc_barnes::OnGossipHello(), npc_death_knight_initiate::OnGossipHello(), npc_highlord_darion_mograine::OnGossipHello(), npc_augustus_the_touched::OnGossipHello(), npc_parqual_fintallas::OnGossipHello(), npc_varian_wrynn::OnGossipHello(), npc_thrall_bfu::OnGossipHello(), npc_zulaman_hostage::OnGossipHello(), npc_jaina_proudmoore::OnGossipHello(), npc_thrall::OnGossipHello(), npc_tyrande_whisperwind::OnGossipHello(), npc_arthas::OnGossipHello(), npc_rizzle_sprysprocket::OnGossipHello(), npc_aged_dying_ancient_kodo::OnGossipHello(), npcs_riverbreeze_and_silversky::OnGossipHello(), npc_bunthen_plainswind::OnGossipHello(), npc_great_bear_spirit::OnGossipHello(), npc_silva_filnaveth::OnGossipHello(), npc_thrall_warchief::OnGossipHello(), npc_braug_dimspirit::OnGossipHello(), npc_steward_of_time::OnGossipHello(), npc_stone_watcher_of_norgannon::OnGossipHello(), npc_plucky::OnGossipHello(), npc_rivern_frostwind::OnGossipHello(), npc_announcer_toc5::OnGossipHello(), npc_announcer_toc10::OnGossipHello(), npc_fos_leader::OnGossipHello(), npc_hor_leader::OnGossipHello(), npc_high_overlord_saurfang_icc::OnGossipHello(), npc_muradin_bronzebeard_icc::OnGossipHello(), npc_oculus_drakegiver::OnGossipHello(), brann_bronzebeard::OnGossipHello(), npc_ulduar_expedition_commander::OnGossipHello(), npc_ulduar_keeper::OnGossipHello(), npc_vh_sinclari::OnGossipHello(), npc_iruk::OnGossipHello(), npc_shandy_dalaran::OnGossipHello(), npc_razael_and_lyana::OnGossipHello(), npc_mcmanus::OnGossipHello(), npc_vekjik::OnGossipHello(), npc_avatar_of_freya::OnGossipHello(), npc_adventurous_dwarf::OnGossipHello(), npc_roxi_ramrocket::OnGossipHello(), npc_wg_demolisher_engineer::OnGossipHello(), npc_wg_spirit_guide::OnGossipHello(), npc_wg_queue::OnGossipHello(), npc_wg_quest_giver::OnGossipHello(), npc_finklestein::OnGossipHello(), npc_captain_saeed::OnGossipHello(), npc_drake_dealer_hurlunk::OnGossipHello(), npcs_flanis_swiftwing_and_kagrosh::OnGossipHello(), npc_shattrathflaskvendors::OnGossipHello(), npc_zephyr::OnGossipHello(), npc_slim::OnGossipHello(), npc_innkeeper::OnGossipHello(), npc_prof_alchemy::OnGossipHello(), npc_prof_blacksmith::OnGossipHello(), npc_engineering_tele_trinket::OnGossipHello(), npc_prof_leather::OnGossipHello(), npc_prof_tailor::OnGossipHello(), npc_artorius::OnGossipHello(), npc_simone::OnGossipHello(), npc_nelson::OnGossipHello(), npc_franklin::OnGossipHello(), npc_taxi::OnGossipHello(), npc_riggle_bassbait::OnGossipHello(), npc_sayge::OnGossipHello(), npc_wormhole::OnGossipHello(), npc_locksmith::OnGossipHello(), npc_experience::OnGossipHello(), go_evil_book_for_dummies::OnGossipHello(), icecrown_citadel_teleport::OnGossipHello(), go_ahune_ice_stone::OnGossipHello(), go_skull_pile::OnGossipHello(), go_fel_crystalforge::OnGossipHello(), go_bashir_crystalforge::OnGossipHello(), go_table_theka::OnGossipHello(), go_amberpine_outhouse::OnGossipHello(), boss_gloomrel::OnGossipSelect(), boss_doomrel::OnGossipSelect(), boss_majordomo::OnGossipSelect(), npc_grandmother::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_tyrande_whisperwind::OnGossipSelect(), npc_arthas::OnGossipSelect(), npc_bunthen_plainswind::OnGossipSelect(), npc_great_bear_spirit::OnGossipSelect(), npc_silva_filnaveth::OnGossipSelect(), npc_thrall_warchief::OnGossipSelect(), npc_stone_watcher_of_norgannon::OnGossipSelect(), npc_ulduar_keeper::OnGossipSelect(), npc_razael_and_lyana::OnGossipSelect(), npc_vekjik::OnGossipSelect(), npc_avatar_of_freya::OnGossipSelect(), npc_prof_leather::OnGossipSelect(), npc_oculus_drakegiver::OnGossipSelect(), npc_vh_sinclari::OnGossipSelect(), go_fel_crystalforge::OnGossipSelect(), go_bashir_crystalforge::OnGossipSelect(), npc_sayge::SendAction(), npc_prof_blacksmith::SendActionMenu(), npc_prof_alchemy::SendConfirmLearn(), npc_prof_blacksmith::SendConfirmLearn(), npc_prof_tailor::SendConfirmLearn(), go_evil_book_for_dummies::SendConfirmLearn(), npc_prof_alchemy::SendConfirmUnlearn(), npc_prof_blacksmith::SendConfirmUnlearn(), npc_prof_tailor::SendConfirmUnlearn(), go_evil_book_for_dummies::SendConfirmUnlearn(), SendGossipMenuFor(), npc_echo_of_medivh::sGossipHello(), npc_chesspiece::sGossipHello(), npc_sergeant_bly::npc_sergeant_blyAI::sGossipHello(), and npc_weegli_blastfuse::npc_weegli_blastfuseAI::sGossipHello().