![]() |
TrinityCore
|
#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 |
Definition at line 49 of file LootPackets.h.
|
inlineexplicit |
Definition at line 52 of file LootPackets.h.
|
overridevirtual |
Implements WorldPackets::Packet.
Definition at line 40 of file LootPackets.cpp.
References WorldPackets::Packet::_worldPacket, AcquireReason, Coins, FailureReason, Items, and Owner.
Referenced by Player::SendLoot(), and Player::SendLootError().
| uint8 WorldPackets::Loot::LootResponse::AcquireReason = 0 |
Definition at line 57 of file LootPackets.h.
Referenced by Player::SendLoot(), and Write().
| uint32 WorldPackets::Loot::LootResponse::Coins = 0 |
Definition at line 59 of file LootPackets.h.
Referenced by Loot::BuildLootResponse(), and Write().
| uint8 WorldPackets::Loot::LootResponse::FailureReason = 17 |
Definition at line 58 of file LootPackets.h.
Referenced by Player::SendLootError(), and Write().
| std::vector<LootItemData> WorldPackets::Loot::LootResponse::Items |
Definition at line 60 of file LootPackets.h.
Referenced by Loot::BuildLootResponse(), and Write().
| ObjectGuid WorldPackets::Loot::LootResponse::Owner |
Definition at line 56 of file LootPackets.h.
Referenced by Player::SendLoot(), Player::SendLootError(), and Write().