TrinityCore
WorldPackets::Chat::PrintNotification Class Referencefinal

#include <ChatPackets.h>

+ Inheritance diagram for WorldPackets::Chat::PrintNotification:

Public Member Functions

 PrintNotification (std::string const &notifyText)
 
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 () override 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
 
virtual WorldPacket const * Write ()=0
 
virtual void Read ()=0
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

std::string NotifyText
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 234 of file ChatPackets.h.

Constructor & Destructor Documentation

◆ PrintNotification()

WorldPackets::Chat::PrintNotification::PrintNotification ( std::string const &  notifyText)
inline

Definition at line 237 of file ChatPackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Chat::PrintNotification::Write ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 248 of file ChatPackets.cpp.

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

Member Data Documentation

◆ NotifyText

std::string WorldPackets::Chat::PrintNotification::NotifyText

Definition at line 241 of file ChatPackets.h.


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