TrinityCore
Loading...
Searching...
No Matches
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)
 
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
 
Packet & operator= (Packet const &right)=delete
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 

Public Attributes

ObjectGuid Owner
 
uint8 AcquireReason = 0
 
uint8 FailureReason = 17
 
uint32 Coins = 0
 
std::vector< LootItemData > Items
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 49 of file LootPackets.h.

Constructor & Destructor Documentation

◆ LootResponse()

WorldPackets::Loot::LootResponse::LootResponse ( )
inlineexplicit

Definition at line 52 of file LootPackets.h.

Member Function Documentation

◆ Write()

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

Member Data Documentation

◆ AcquireReason

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

Definition at line 57 of file LootPackets.h.

Referenced by Player::SendLoot(), and Write().

◆ Coins

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

Definition at line 59 of file LootPackets.h.

Referenced by Loot::BuildLootResponse(), and Write().

◆ FailureReason

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

Definition at line 58 of file LootPackets.h.

Referenced by Player::SendLootError(), and Write().

◆ Items

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

Definition at line 60 of file LootPackets.h.

Referenced by Loot::BuildLootResponse(), and Write().

◆ Owner

ObjectGuid WorldPackets::Loot::LootResponse::Owner

Definition at line 56 of file LootPackets.h.

Referenced by Player::SendLoot(), Player::SendLootError(), and Write().


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