mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Fix character appearance, previews, mount seat, and online unequip
This commit is contained in:
parent
4a023e773b
commit
275914b4db
19 changed files with 743 additions and 113 deletions
|
|
@ -1495,6 +1495,21 @@ public:
|
|||
static network::Packet build(uint8_t srcBag, uint8_t srcSlot);
|
||||
};
|
||||
|
||||
/** CMSG_SWAP_ITEM packet builder */
|
||||
class SwapItemPacket {
|
||||
public:
|
||||
// Order matches AzerothCore handler: destBag, destSlot, srcBag, srcSlot.
|
||||
static network::Packet build(uint8_t dstBag, uint8_t dstSlot, uint8_t srcBag, uint8_t srcSlot);
|
||||
};
|
||||
|
||||
/** CMSG_SWAP_INV_ITEM packet builder */
|
||||
class SwapInvItemPacket {
|
||||
public:
|
||||
// WoW inventory: slots are in the "inventory" range (equipment 0-18, bags 19-22, backpack 23-38).
|
||||
// This swaps two inventory slots directly.
|
||||
static network::Packet build(uint8_t srcSlot, uint8_t dstSlot);
|
||||
};
|
||||
|
||||
/** CMSG_LOOT_MONEY packet builder (empty body) */
|
||||
class LootMoneyPacket {
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue