TrinityCore
WorldPackets::Loot::LootRollWon Class Referencefinal

#include <LootPackets.h>

+ Inheritance diagram for WorldPackets::Loot::LootRollWon:

Public Member Functions

 LootRollWon ()
 
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

ObjectGuid LootObj
 
ObjectGuid Winner
 
int32 Roll = 0
 
uint8 RollType = 0
 
LootItemData Item
 
bool MainSpec = false
 
int32 DungeonEncounterID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 251 of file LootPackets.h.

Constructor & Destructor Documentation

◆ LootRollWon()

WorldPackets::Loot::LootRollWon::LootRollWon ( )
inline

Definition at line 254 of file LootPackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Loot::LootRollWon::Write ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 201 of file LootPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ DungeonEncounterID

int32 WorldPackets::Loot::LootRollWon::DungeonEncounterID = 0

Definition at line 264 of file LootPackets.h.

◆ Item

LootItemData WorldPackets::Loot::LootRollWon::Item

Definition at line 262 of file LootPackets.h.

◆ LootObj

ObjectGuid WorldPackets::Loot::LootRollWon::LootObj

Definition at line 258 of file LootPackets.h.

◆ MainSpec

bool WorldPackets::Loot::LootRollWon::MainSpec = false

Definition at line 263 of file LootPackets.h.

◆ Roll

int32 WorldPackets::Loot::LootRollWon::Roll = 0

Definition at line 260 of file LootPackets.h.

◆ RollType

uint8 WorldPackets::Loot::LootRollWon::RollType = 0

Definition at line 261 of file LootPackets.h.

◆ Winner

ObjectGuid WorldPackets::Loot::LootRollWon::Winner

Definition at line 259 of file LootPackets.h.


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