TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Item::RepairItem Class Referencefinal

#include <ItemPackets.h>

Public Member Functions

 RepairItem (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket constWrite () overridefinal
 
OpcodeClient 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
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

ObjectGuid NpcGUID
 
ObjectGuid ItemGUID
 
bool UseGuildBank = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Item::RepairItem::RepairItem ( WorldPacket &&  packet)
inline
185 : ClientPacket(CMSG_REPAIR_ITEM, std::move(packet)) { }
Definition: Opcodes.h:555
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Item::RepairItem::Read ( )
overridevirtual

Implements WorldPackets::Packet.

137 {
141 }
ObjectGuid NpcGUID
Definition: ItemPackets.h:189
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid ItemGUID
Definition: ItemPackets.h:190
bool UseGuildBank
Definition: ItemPackets.h:191
bool ReadBit()
Definition: ByteBuffer.h:186

Member Data Documentation

ObjectGuid WorldPackets::Item::RepairItem::ItemGUID
ObjectGuid WorldPackets::Item::RepairItem::NpcGUID
bool WorldPackets::Item::RepairItem::UseGuildBank = false

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