TrinityCore
WorldPackets::Toy::UseToy Class Referencefinal

#include <ToyPackets.h>

+ Inheritance diagram for WorldPackets::Toy::UseToy:

Public Member Functions

 UseToy (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket const * Write () override final
 
OpcodeClient 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

WorldPackets::Spells::SpellCastRequest Cast
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 38 of file ToyPackets.h.

Constructor & Destructor Documentation

◆ UseToy()

WorldPackets::Toy::UseToy::UseToy ( WorldPacket &&  packet)
inline

Definition at line 41 of file ToyPackets.h.

Member Function Documentation

◆ Read()

void WorldPackets::Toy::UseToy::Read ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 25 of file ToyPackets.cpp.

Member Data Documentation

◆ Cast

WorldPackets::Spells::SpellCastRequest WorldPackets::Toy::UseToy::Cast

Definition at line 45 of file ToyPackets.h.


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