TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Item Namespace Reference

Classes

class  AutoEquipItem
 
class  AutoEquipItemSlot
 
class  AutoStoreBagItem
 
class  BuyBackItem
 
class  BuyFailed
 
class  BuyItem
 
class  BuySucceeded
 
class  CancelTempEnchantment
 
class  DestroyItem
 
class  GetItemPurchaseData
 
class  InventoryChangeFailure
 
struct  InvUpdate
 
struct  ItemBonusInstanceData
 
class  ItemCooldown
 
class  ItemEnchantTimeUpdate
 
class  ItemExpirePurchaseRefund
 
struct  ItemInstance
 
struct  ItemPurchaseContents
 
class  ItemPurchaseRefund
 
struct  ItemPurchaseRefundCurrency
 
struct  ItemPurchaseRefundItem
 
class  ItemPurchaseRefundResult
 
class  ItemPushResult
 
class  ItemTimeUpdate
 
class  ReadItem
 
class  ReadItemResultFailed
 
class  ReadItemResultOK
 
class  RepairItem
 
class  SellItem
 
class  SellResponse
 
class  SetItemPurchaseData
 
class  SetProficiency
 
class  SocketGems
 
class  SocketGemsResult
 
class  SplitItem
 
class  SwapInvItem
 
class  SwapItem
 
struct  TransmogrifyItem
 
class  TransmogrifyItems
 
class  UseCritterItem
 
class  WrapItem
 

Functions

ByteBufferoperator>> (ByteBuffer &data, InvUpdate &invUpdate)
 

Function Documentation

ByteBuffer & WorldPackets::Item::operator>> ( ByteBuffer data,
InvUpdate &  invUpdate 
)
237 {
238  invUpdate.Items.resize(data.ReadBits(2));
239  for (size_t i = 0; i < invUpdate.Items.size(); ++i)
240  {
241  data >> invUpdate.Items[i].ContainerSlot;
242  data >> invUpdate.Items[i].Slot;
243  }
244 
245  return data;
246 }
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204

+ Here is the call graph for this function: