TrinityCore
Loading...
Searching...
No Matches
WorldPackets::Item::SwapItem Class Referencefinal

#include <ItemPackets.h>

+ Inheritance diagram for WorldPackets::Item::SwapItem:

Public Member Functions

 SwapItem (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket const * Write () final
 
OpcodeClient 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
 
ConnectionType GetConnection () const
 

Public Attributes

InvUpdate Inv
 
uint8 SlotA = 0
 
uint8 ContainerSlotB = 0
 
uint8 SlotB = 0
 
uint8 ContainerSlotA = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 263 of file ItemPackets.h.

Constructor & Destructor Documentation

◆ SwapItem()

WorldPackets::Item::SwapItem::SwapItem ( WorldPacket &&  packet)
inlineexplicit

Definition at line 266 of file ItemPackets.h.

Member Function Documentation

◆ Read()

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

Member Data Documentation

◆ ContainerSlotA

uint8 WorldPackets::Item::SwapItem::ContainerSlotA = 0

Definition at line 274 of file ItemPackets.h.

Referenced by WorldSession::HandleSwapItem(), and Read().

◆ ContainerSlotB

uint8 WorldPackets::Item::SwapItem::ContainerSlotB = 0

Definition at line 272 of file ItemPackets.h.

Referenced by WorldSession::HandleSwapItem(), and Read().

◆ Inv

InvUpdate WorldPackets::Item::SwapItem::Inv

Definition at line 270 of file ItemPackets.h.

Referenced by WorldSession::HandleSwapItem(), and Read().

◆ SlotA

uint8 WorldPackets::Item::SwapItem::SlotA = 0

Definition at line 271 of file ItemPackets.h.

Referenced by WorldSession::HandleSwapItem(), and Read().

◆ SlotB

uint8 WorldPackets::Item::SwapItem::SlotB = 0

Definition at line 273 of file ItemPackets.h.

Referenced by WorldSession::HandleSwapItem(), and Read().


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