![]() |
TrinityCore
|
#include <GossipDef.h>
Classes | |
| struct | TaggedId |
Public Member Functions | |||||||||
| bool | IsInteractingWith (ObjectGuid target, PlayerInteractionType type) const | ||||||||
| TrainerData * | GetTrainer () | ||||||||
| PlayerChoiceData * | GetPlayerChoice () | ||||||||
| uint16 | AddPlayerChoiceResponse (uint32 responseId) | ||||||||
AddMenuItem | |||||||||
Adds a localized gossip menu item from db by menu id and menu item id.
| |||||||||
| InteractionData () | |||||||||
| InteractionData (InteractionData const &other) | |||||||||
| InteractionData (InteractionData &&other) noexcept | |||||||||
| InteractionData & | operator= (InteractionData const &other) | ||||||||
| InteractionData & | operator= (InteractionData &&other) noexcept | ||||||||
| ~InteractionData () | |||||||||
| void | StartInteraction (ObjectGuid target, PlayerInteractionType type) | ||||||||
| void | Reset () | ||||||||
Public Attributes | |
| ObjectGuid | SourceGuid |
| PlayerInteractionType | Type = { } |
| bool | IsLaunchedByQuest = false |
Private Types | |
| using | TrainerData = TaggedId< TrainerTag > |
Private Attributes | |
| uint16 | _playerChoiceResponseIdentifierGenerator = 0 |
| std::variant< std::monostate, TrainerData, PlayerChoiceData > | _data |
Definition at line 266 of file GossipDef.h.
|
private |
Definition at line 278 of file GossipDef.h.
|
default |
|
default |
|
defaultnoexcept |
|
default |
Definition at line 299 of file GossipDef.h.
|
inline |
Definition at line 297 of file GossipDef.h.
|
inline |
Definition at line 295 of file GossipDef.h.
|
inline |
Definition at line 289 of file GossipDef.h.
|
defaultnoexcept |
|
default |
| void InteractionData::Reset | ( | ) |
Definition at line 391 of file GossipDef.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void InteractionData::StartInteraction | ( | ObjectGuid | target, |
| PlayerInteractionType | type | ||
| ) |
|
private |
Definition at line 309 of file GossipDef.h.
|
private |
Definition at line 308 of file GossipDef.h.
| bool InteractionData::IsLaunchedByQuest = false |
Definition at line 305 of file GossipDef.h.
| ObjectGuid InteractionData::SourceGuid |
Definition at line 292 of file GossipDef.h.
| PlayerInteractionType InteractionData::Type = { } |
Definition at line 293 of file GossipDef.h.