TrinityCore
WorldPackets::Loot::LootRollBroadcast Class Referencefinal

#include <LootPackets.h>

+ Inheritance diagram for WorldPackets::Loot::LootRollBroadcast:

Public Member Functions

 LootRollBroadcast ()
 
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 Player
 
int32 Roll = 0
 Roll value can be negative, it means that it is an "offspec" roll but only during roll selection broadcast (not when sending the result) More...
 
uint8 RollType = 0
 
LootItemData Item
 
bool Autopassed = false
 Triggers message |HlootHistory:d|h[Loot]|h: You automatically passed on: s because you cannot loot that item. More...
 
bool OffSpec = false
 
int32 DungeonEncounterID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 234 of file LootPackets.h.

Constructor & Destructor Documentation

◆ LootRollBroadcast()

WorldPackets::Loot::LootRollBroadcast::LootRollBroadcast ( )
inline

Definition at line 237 of file LootPackets.h.

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 186 of file LootPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ Autopassed

bool WorldPackets::Loot::LootRollBroadcast::Autopassed = false

Triggers message |HlootHistory:d|h[Loot]|h: You automatically passed on: s because you cannot loot that item.

Definition at line 246 of file LootPackets.h.

◆ DungeonEncounterID

int32 WorldPackets::Loot::LootRollBroadcast::DungeonEncounterID = 0

Definition at line 248 of file LootPackets.h.

◆ Item

LootItemData WorldPackets::Loot::LootRollBroadcast::Item

Definition at line 245 of file LootPackets.h.

◆ LootObj

ObjectGuid WorldPackets::Loot::LootRollBroadcast::LootObj

Definition at line 241 of file LootPackets.h.

◆ OffSpec

bool WorldPackets::Loot::LootRollBroadcast::OffSpec = false

Definition at line 247 of file LootPackets.h.

◆ Player

ObjectGuid WorldPackets::Loot::LootRollBroadcast::Player

Definition at line 242 of file LootPackets.h.

◆ Roll

int32 WorldPackets::Loot::LootRollBroadcast::Roll = 0

Roll value can be negative, it means that it is an "offspec" roll but only during roll selection broadcast (not when sending the result)

Definition at line 243 of file LootPackets.h.

◆ RollType

uint8 WorldPackets::Loot::LootRollBroadcast::RollType = 0

Definition at line 244 of file LootPackets.h.


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