TrinityCore
Loading...
Searching...
No Matches
WorldPackets::NPC::GossipMessage Class Referencefinal

#include <NPCPackets.h>

+ Inheritance diagram for WorldPackets::NPC::GossipMessage:

Public Member Functions

 GossipMessage ()
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () final
 
void Clear ()
 
WorldPacket && Move ()
 
void ShrinkToFit ()
 
OpcodeServer GetOpcode () const
 
- Public Member Functions inherited from WorldPackets::Packet
 Packet (WorldPacket &&worldPacket)
 
virtual ~Packet ()=default
 
 Packet (Packet const &right)=delete
 
Packetoperator= (Packet const &right)=delete
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

std::vector< ClientGossipOptionsGossipOptions
 
int32 FriendshipFactionID = 0
 
ObjectGuid GossipGUID
 
std::vector< ClientGossipTextGossipText
 
Optional< int32RandomTextID
 
Optional< int32BroadcastTextID
 
int32 GossipID = 0
 
int32 LfgDungeonsID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 112 of file NPCPackets.h.

Constructor & Destructor Documentation

◆ GossipMessage()

WorldPackets::NPC::GossipMessage::GossipMessage ( )
inlineexplicit

Definition at line 115 of file NPCPackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::NPC::GossipMessage::Write ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 110 of file NPCPackets.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ BroadcastTextID

Optional<int32> WorldPackets::NPC::GossipMessage::BroadcastTextID

Definition at line 124 of file NPCPackets.h.

◆ FriendshipFactionID

int32 WorldPackets::NPC::GossipMessage::FriendshipFactionID = 0

Definition at line 120 of file NPCPackets.h.

◆ GossipGUID

ObjectGuid WorldPackets::NPC::GossipMessage::GossipGUID

Definition at line 121 of file NPCPackets.h.

◆ GossipID

int32 WorldPackets::NPC::GossipMessage::GossipID = 0

Definition at line 125 of file NPCPackets.h.

◆ GossipOptions

std::vector<ClientGossipOptions> WorldPackets::NPC::GossipMessage::GossipOptions

Definition at line 119 of file NPCPackets.h.

◆ GossipText

std::vector<ClientGossipText> WorldPackets::NPC::GossipMessage::GossipText

Definition at line 122 of file NPCPackets.h.

◆ LfgDungeonsID

int32 WorldPackets::NPC::GossipMessage::LfgDungeonsID = 0

Definition at line 126 of file NPCPackets.h.

◆ RandomTextID

Optional<int32> WorldPackets::NPC::GossipMessage::RandomTextID

Definition at line 123 of file NPCPackets.h.


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