TrinityCore
WorldPackets::Loot::LootResponse Class Referencefinal

#include <LootPackets.h>

+ Inheritance diagram for WorldPackets::Loot::LootResponse:

Public Member Functions

 LootResponse ()
 
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 Owner
 
uint8 Threshold = 2
 
uint8 _LootMethod = 0
 
uint8 AcquireReason = 0
 
uint8 FailureReason = 17
 
uint32 Coins = 0
 
std::vector< LootItemDataItems
 
std::vector< LootCurrencyCurrencies
 
bool Acquired = false
 
bool AELooting = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 60 of file LootPackets.h.

Constructor & Destructor Documentation

◆ LootResponse()

WorldPackets::Loot::LootResponse::LootResponse ( )
inline

Definition at line 63 of file LootPackets.h.

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 38 of file LootPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _LootMethod

uint8 WorldPackets::Loot::LootResponse::_LootMethod = 0
See also
enum LootMethod

Definition at line 70 of file LootPackets.h.

◆ Acquired

bool WorldPackets::Loot::LootResponse::Acquired = false

Definition at line 76 of file LootPackets.h.

◆ AcquireReason

uint8 WorldPackets::Loot::LootResponse::AcquireReason = 0

Definition at line 71 of file LootPackets.h.

◆ AELooting

bool WorldPackets::Loot::LootResponse::AELooting = false

Definition at line 77 of file LootPackets.h.

◆ Coins

uint32 WorldPackets::Loot::LootResponse::Coins = 0

Definition at line 73 of file LootPackets.h.

◆ Currencies

std::vector<LootCurrency> WorldPackets::Loot::LootResponse::Currencies

Definition at line 75 of file LootPackets.h.

◆ FailureReason

uint8 WorldPackets::Loot::LootResponse::FailureReason = 17

Definition at line 72 of file LootPackets.h.

◆ Items

std::vector<LootItemData> WorldPackets::Loot::LootResponse::Items

Definition at line 74 of file LootPackets.h.

◆ LootObj

ObjectGuid WorldPackets::Loot::LootResponse::LootObj

Definition at line 67 of file LootPackets.h.

◆ Owner

ObjectGuid WorldPackets::Loot::LootResponse::Owner

Definition at line 68 of file LootPackets.h.

◆ Threshold

uint8 WorldPackets::Loot::LootResponse::Threshold = 2

Definition at line 69 of file LootPackets.h.


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