AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "GossipDef.h"
Public Member Functions | |||||||||||
uint8 | GetMenuItemCount () const | ||||||||||
bool | Empty () const | ||||||||||
QuestMenuItem const & | GetItem (uint16 index) const | ||||||||||
AddMenuItem | |||||||||||
Adds a localized gossip menu item from db by menu id and menu item id.
| |||||||||||
QuestMenu () | |||||||||||
~QuestMenu () | |||||||||||
void | AddMenuItem (uint32 QuestId, uint8 Icon) | ||||||||||
void | ClearMenu () | ||||||||||
bool | HasItem (uint32 questId) const | ||||||||||
Private Attributes | |
QuestMenuItemList | _questMenuItems |
QuestMenu::QuestMenu | ( | ) |
References _questMenuItems.
QuestMenu::~QuestMenu | ( | ) |
References ClearMenu().
References _questMenuItems, ASSERT, GOSSIP_MAX_MENU_ITEMS, QuestMenuItem::QuestIcon, QuestMenuItem::QuestId, and sObjectMgr.
Referenced by npc_wg_quest_giver::OnGossipHello(), Player::PrepareQuestMenu(), and npc_costumed_orphan_matron::sGossipHello().
void QuestMenu::ClearMenu | ( | ) |
|
inline |
References _questMenuItems.
Referenced by PlayerMenu::Empty(), Player::SendPreparedGossip(), and Player::SendPreparedQuest().
|
inline |
References _questMenuItems.
Referenced by PlayerMenu::SendGossipMenu(), Player::SendPreparedQuest(), and PlayerMenu::SendQuestGiverQuestList().
|
inline |
References _questMenuItems.
Referenced by PlayerMenu::SendGossipMenu(), Player::SendPreparedQuest(), and PlayerMenu::SendQuestGiverQuestList().
bool QuestMenu::HasItem | ( | uint32 | questId | ) | const |
References _questMenuItems.
|
private |
Referenced by AddMenuItem(), ClearMenu(), Empty(), GetItem(), GetMenuItemCount(), HasItem(), and QuestMenu().