18 #ifndef TradePackets_h__
19 #define TradePackets_h__
105 void Read()
override;
115 void Read()
override;
192 #endif // TradePackets_h__
#define MAX_GEM_SOCKETS
Definition: Item.h:195
int32 ProposedEnchantment
Definition: TradePackets.h:186
UnacceptTrade(WorldPacket &&packet)
Definition: TradePackets.h:125
Definition: Opcodes.h:1579
uint32 ID
Definition: TradePackets.h:185
CancelTrade(WorldPacket &&packet)
Definition: TradePackets.h:56
Definition: SharedDefines.h:4650
InitiateTrade(WorldPacket &&packet)
Definition: TradePackets.h:82
uint64 Gold
Definition: TradePackets.h:179
Definition: TradePackets.h:150
uint8 WhichPlayer
Definition: TradePackets.h:181
Definition: TradePackets.h:27
ClearTradeItem(WorldPacket &&packet)
Definition: TradePackets.h:64
void Read() override
Definition: TradePackets.cpp:40
Definition: TradePackets.h:89
BusyTrade(WorldPacket &&packet)
Definition: TradePackets.h:48
Definition: TradePackets.h:45
int32 Charges
Definition: TradePackets.h:159
uint8 TradeSlot
Definition: TradePackets.h:138
void Read() override
Definition: TradePackets.h:50
uint8 TradeSlot
Definition: TradePackets.h:68
uint64 Coinage
Definition: TradePackets.h:107
ObjectGuid Partner
Definition: TradePackets.h:140
Optional< UnwrappedTradeItem > Unwrapped
Definition: TradePackets.h:172
int32 StackCount
Definition: TradePackets.h:170
ObjectGuid GiftCreator
Definition: TradePackets.h:171
uint8 PackSlot
Definition: TradePackets.h:118
uint32 ItemID
Definition: TradePackets.h:145
Definition: TradePackets.h:79
bool Lock
Definition: TradePackets.h:160
int32 CurrencyType
Definition: TradePackets.h:184
TradeUpdated()
Definition: TradePackets.h:175
Definition: Opcodes.h:119
Definition: Opcodes.h:1580
void Read() override
Definition: TradePackets.h:127
void Read() override
Definition: TradePackets.h:58
int32 SocketEnchant[MAX_GEM_SOCKETS]
Definition: TradePackets.h:163
BeginTrade(WorldPacket &&packet)
Definition: TradePackets.h:40
int32 CurrencyQuantity
Definition: TradePackets.h:142
Definition: Opcodes.h:216
WorldPacket const * Write() override
Definition: TradePackets.cpp:50
uint8 TradeSlot
Definition: TradePackets.h:117
SetTradeCurrency(WorldPacket &&packet)
Definition: TradePackets.h:92
TradeStatus()
Definition: TradePackets.h:133
Definition: Opcodes.h:109
uint32 MaxDurability
Definition: TradePackets.h:161
Definition: Opcodes.h:640
Definition: Opcodes.h:639
int32 OnUseEnchantmentID
Definition: TradePackets.h:157
Definition: TradePackets.h:100
Definition: TradePackets.h:153
AcceptTrade(WorldPacket &&packet)
Definition: TradePackets.h:30
uint32 Durability
Definition: TradePackets.h:162
WorldPackets::Item::ItemInstance Item
Definition: TradePackets.h:155
SetTradeGold(WorldPacket &&packet)
Definition: TradePackets.h:103
int32_t int32
Definition: Define.h:146
uint32_t uint32
Definition: Define.h:150
uint64_t uint64
Definition: Define.h:149
Definition: TradePackets.h:71
int32 CurrencyQuantity
Definition: TradePackets.h:187
void Read() override
Definition: TradePackets.cpp:20
boost::optional< T > Optional
Optional helper class to wrap optional values within.
Definition: Common.h:170
Definition: TradePackets.h:53
int32 CurrencyType
Definition: TradePackets.h:141
std::vector< TradeItem > Items
Definition: TradePackets.h:183
Definition: Opcodes.h:641
Definition: Opcodes.h:693
ObjectGuid PartnerAccount
Definition: TradePackets.h:139
Definition: TradePackets.h:61
Definition: TradePackets.h:110
Definition: TradePackets.h:166
Definition: TradePackets.h:122
Definition: BattlegroundMgr.h:57
Definition: Opcodes.h:152
uint32 ClientStateIndex
Definition: TradePackets.h:182
Definition: TradePackets.h:130
IgnoreTrade(WorldPacket &&packet)
Definition: TradePackets.h:74
uint32 Quantity
Definition: TradePackets.h:97
int32 EnchantID
Definition: TradePackets.h:156
Definition: Opcodes.h:352
uint8 Slot
Definition: TradePackets.h:168
void Read() override
Definition: TradePackets.cpp:35
Definition: Opcodes.h:349
Definition: TradePackets.h:37
ObjectGuid Creator
Definition: TradePackets.h:158
uint32 StateIndex
Definition: TradePackets.h:34
::TradeStatus Status
Definition: TradePackets.h:137
uint8_t uint8
Definition: Define.h:152
ObjectGuid Guid
Definition: TradePackets.h:86
bool FailureForYou
Definition: TradePackets.h:143
int32 EntryID
Definition: TradePackets.h:169
Definition: ItemPackets.h:40
uint8 ItemSlotInPack
Definition: TradePackets.h:119
Definition: ObjectGuid.h:189
void Read() override
Definition: TradePackets.cpp:45
uint32 CurrentStateIndex
Definition: TradePackets.h:180
int32 BagResult
Definition: TradePackets.h:144
WorldPacket const * Write() override
Definition: TradePackets.cpp:113
Type
Type of JSON value.
Definition: rapidjson.h:642
void Read() override
Definition: TradePackets.h:42
void Read() override
Definition: TradePackets.cpp:30
Definition: WorldPacket.h:26
void Read() override
Definition: TradePackets.cpp:25
bool PartnerIsSameBnetAccount
Definition: TradePackets.h:147
void Read() override
Definition: TradePackets.h:76
SetTradeItem(WorldPacket &&packet)
Definition: TradePackets.h:113
uint32 ID
Definition: TradePackets.h:146