TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Loot::LootRoll Class Referencefinal

#include <LootPackets.h>

Public Member Functions

 LootRoll (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket constWrite () overridefinal
 
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
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

ObjectGuid LootObj
 
uint8 LootListID = 0
 
uint8 RollType = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Loot::LootRoll::LootRoll ( WorldPacket &&  packet)
inline
150 : ClientPacket(CMSG_LOOT_ROLL, std::move(packet)) { }
Definition: Opcodes.h:395
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Loot::LootRoll::Read ( )
overridevirtual

Implements WorldPackets::Packet.

111 {
115 }
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid LootObj
Definition: LootPackets.h:154
uint8 RollType
Definition: LootPackets.h:156
uint8 LootListID
Definition: LootPackets.h:155

Member Data Documentation

uint8 WorldPackets::Loot::LootRoll::LootListID = 0
ObjectGuid WorldPackets::Loot::LootRoll::LootObj
uint8 WorldPackets::Loot::LootRoll::RollType = 0

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