384 player->PlayerTalkClass->GetGossipMenu().AddGossipMenuItemData(0, 0, 0);
395 QuestMenu& qm = player->PlayerTalkClass->GetQuestMenu();
398 for (QuestRelations::const_iterator i = objectQIR.first; i != objectQIR.second; ++i)
400 uint32 questId = i->second;
401 QuestStatus status = player->GetQuestStatus(questId);
410 for (QuestRelations::const_iterator i = objectQR.first; i != objectQR.second; ++i)
412 uint32 questId = i->second;
417 if (!player->CanTakeQuest(quest,
false))
473 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->
GetGUID());
Definition: zone_wintergrasp.cpp:96
bool IsVendor() const
Definition: Unit.h:1564
Definition: QuestDef.h:111
bool IsAutoComplete() const
Definition: QuestDef.cpp:315
Definition: zone_wintergrasp.cpp:86
Definition: zone_wintergrasp.cpp:82
Definition: zone_wintergrasp.cpp:98
Definition: QuestDef.h:279
Definition: zone_wintergrasp.cpp:94
std::pair< QuestRelations::const_iterator, QuestRelations::const_iterator > QuestRelationBounds
Definition: ObjectMgr.h:442
QuestStatus
Definition: QuestDef.h:108
Definition: zone_wintergrasp.cpp:84
Definition: zone_wintergrasp.cpp:77
Definition: zone_wintergrasp.cpp:75
Definition: zone_wintergrasp.cpp:85
#define sObjectMgr
Definition: ObjectMgr.h:1567
Definition: QuestDef.h:110
Definition: zone_wintergrasp.cpp:101
Definition: zone_wintergrasp.cpp:78
Definition: zone_wintergrasp.cpp:79
bool IsQuestGiver() const
Definition: Unit.h:1566
Definition: zone_wintergrasp.cpp:97
Definition: zone_wintergrasp.cpp:90
Definition: zone_wintergrasp.cpp:99
Definition: zone_wintergrasp.cpp:92
Definition: zone_wintergrasp.cpp:80
uint32_t uint32
Definition: Define.h:150
Definition: Battlefield.h:196
Definition: zone_wintergrasp.cpp:93
Definition: SharedDefines.h:992
Definition: zone_wintergrasp.cpp:100
Definition: ScriptedGossip.h:73
Definition: zone_wintergrasp.cpp:88
Definition: zone_wintergrasp.cpp:91
#define sBattlefieldMgr
Definition: BattlefieldMgr.h:67
ObjectGuid const & GetGUID() const
Definition: Object.h:105
TeamId GetAttackerTeam() const
Definition: Battlefield.h:272
Definition: zone_wintergrasp.cpp:76
Definition: Battlefield.h:33
Definition: zone_wintergrasp.cpp:83
Definition: QuestDef.h:113
Definition: GossipDef.h:37
uint32 GetEntry() const
Definition: Object.h:107
TeamId GetDefenderTeam() const
Definition: Battlefield.h:271
Definition: SharedDefines.h:993
Definition: zone_wintergrasp.cpp:87