![]() |
TrinityCore
|
#include <GossipDef.h>
Public Member Functions | |||||||||
PlayerMenu (PlayerMenu const &)=delete | |||||||||
PlayerMenu (PlayerMenu &&)=delete | |||||||||
PlayerMenu & | operator= (PlayerMenu const &)=delete | ||||||||
PlayerMenu & | operator= (PlayerMenu &&)=delete | ||||||||
GossipMenu & | GetGossipMenu () | ||||||||
QuestMenu & | GetQuestMenu () | ||||||||
InteractionData & | GetInteractionData () | ||||||||
bool | Empty () const | ||||||||
uint32 | GetGossipOptionSender (uint32 selection) const | ||||||||
uint32 | GetGossipOptionAction (uint32 selection) const | ||||||||
bool | IsGossipOptionCoded (uint32 selection) const | ||||||||
AddMenuItem | |||||||||
Adds a localized gossip menu item from db by menu id and menu item id.
| |||||||||
PlayerMenu (WorldSession *session) | |||||||||
~PlayerMenu () | |||||||||
void | ClearMenus () | ||||||||
void | SendGossipMenu (uint32 titleTextId, ObjectGuid objectGUID) | ||||||||
void | SendCloseGossip () | ||||||||
void | SendPointOfInterest (uint32 poiId) const | ||||||||
void | SendQuestGiverStatus (QuestGiverStatus questStatus, ObjectGuid npcGUID) const | ||||||||
void | SendQuestGiverQuestListMessage (Object *questgiver) | ||||||||
void | SendQuestQueryResponse (Quest const *quest) const | ||||||||
void | SendQuestGiverQuestDetails (Quest const *quest, ObjectGuid npcGUID, bool autoLaunched, bool displayPopup) const | ||||||||
void | SendQuestGiverOfferReward (Quest const *quest, ObjectGuid npcGUID, bool autoLaunched) const | ||||||||
void | SendQuestGiverRequestItems (Quest const *quest, ObjectGuid npcGUID, bool canComplete, bool autoLaunched) const | ||||||||
Private Attributes | |
GossipMenu | _gossipMenu |
QuestMenu | _questMenu |
WorldSession * | _session |
InteractionData | _interactionData |
Definition at line 245 of file GossipDef.h.
|
explicit |
|
delete |
|
delete |
|
default |
void PlayerMenu::ClearMenus | ( | ) |
|
inline |
Definition at line 259 of file GossipDef.h.
|
inline |
Definition at line 255 of file GossipDef.h.
Definition at line 263 of file GossipDef.h.
Definition at line 262 of file GossipDef.h.
|
inline |
Definition at line 257 of file GossipDef.h.
|
inline |
Definition at line 256 of file GossipDef.h.
|
inline |
Definition at line 264 of file GossipDef.h.
|
delete |
|
delete |
void PlayerMenu::SendCloseGossip | ( | ) |
void PlayerMenu::SendGossipMenu | ( | uint32 | titleTextId, |
ObjectGuid | objectGUID | ||
) |
void PlayerMenu::SendPointOfInterest | ( | uint32 | poiId | ) | const |
void PlayerMenu::SendQuestGiverOfferReward | ( | Quest const * | quest, |
ObjectGuid | npcGUID, | ||
bool | autoLaunched | ||
) | const |
Definition at line 547 of file GossipDef.cpp.
void PlayerMenu::SendQuestGiverQuestDetails | ( | Quest const * | quest, |
ObjectGuid | npcGUID, | ||
bool | autoLaunched, | ||
bool | displayPopup | ||
) | const |
Definition at line 448 of file GossipDef.cpp.
void PlayerMenu::SendQuestGiverQuestListMessage | ( | Object * | questgiver | ) |
void PlayerMenu::SendQuestGiverRequestItems | ( | Quest const * | quest, |
ObjectGuid | npcGUID, | ||
bool | canComplete, | ||
bool | autoLaunched | ||
) | const |
void PlayerMenu::SendQuestGiverStatus | ( | QuestGiverStatus | questStatus, |
ObjectGuid | npcGUID | ||
) | const |
void PlayerMenu::SendQuestQueryResponse | ( | Quest const * | quest | ) | const |
|
private |
Definition at line 284 of file GossipDef.h.
|
private |
Definition at line 287 of file GossipDef.h.
|
private |
Definition at line 285 of file GossipDef.h.
|
private |
Definition at line 286 of file GossipDef.h.