TrinityCore
Loading...
Searching...
No Matches
QuestMenu Class Reference

#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.

Parameters
menuIdGossip menu id.
menuItemIdGossip menu item id.
senderIdentifier of the current menu.
actionCustom action given to OnGossipHello.
 QuestMenu ()
 
 ~QuestMenu ()
 
void AddMenuItem (uint32 QuestId, uint8 Icon)
 
void ClearMenu ()
 
bool HasItem (uint32 questId) const
 

Private Attributes

QuestMenuItemList _questMenuItems
 

Detailed Description

Definition at line 226 of file GossipDef.h.

Constructor & Destructor Documentation

◆ QuestMenu()

QuestMenu::QuestMenu ( )

Definition at line 290 of file GossipDef.cpp.

◆ ~QuestMenu()

QuestMenu::~QuestMenu ( )

Definition at line 295 of file GossipDef.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ AddMenuItem()

void QuestMenu::AddMenuItem ( uint32  QuestId,
uint8  Icon 
)

Definition at line 300 of file GossipDef.cpp.

+ Here is the caller graph for this function:

◆ ClearMenu()

void QuestMenu::ClearMenu ( )

Definition at line 324 of file GossipDef.cpp.

+ Here is the caller graph for this function:

◆ Empty()

bool QuestMenu::Empty ( ) const
inline

Definition at line 240 of file GossipDef.h.

+ Here is the caller graph for this function:

◆ GetItem()

QuestMenuItem const & QuestMenu::GetItem ( uint16  index) const
inline

Definition at line 247 of file GossipDef.h.

+ Here is the caller graph for this function:

◆ GetMenuItemCount()

uint8 QuestMenu::GetMenuItemCount ( ) const
inline

Definition at line 235 of file GossipDef.h.

+ Here is the caller graph for this function:

◆ HasItem()

bool QuestMenu::HasItem ( uint32  questId) const

Definition at line 315 of file GossipDef.cpp.

Member Data Documentation

◆ _questMenuItems

QuestMenuItemList QuestMenu::_questMenuItems
private

Definition at line 253 of file GossipDef.h.


The documentation for this class was generated from the following files: