Send CMSG_LOOT_MONEY for online gold looting and replace action bar right-click removal with drag-to-ground

This commit is contained in:
Kelsi 2026-02-06 19:24:44 -08:00
parent c3b0769982
commit 4c530e9cee
5 changed files with 67 additions and 12 deletions

View file

@ -1137,6 +1137,12 @@ public:
static network::Packet build(uint8_t srcBag, uint8_t srcSlot);
};
/** CMSG_LOOT_MONEY packet builder (empty body) */
class LootMoneyPacket {
public:
static network::Packet build();
};
/** CMSG_LOOT_RELEASE packet builder */
class LootReleasePacket {
public:

View file

@ -171,6 +171,10 @@ private:
std::unordered_map<uint32_t, uint32_t> spellIconIds_;
bool spellIconDbLoaded_ = false;
GLuint getSpellIcon(uint32_t spellId, pipeline::AssetManager* am);
// Action bar drag state (-1 = not dragging)
int actionBarDragSlot_ = -1;
GLuint actionBarDragIcon_ = 0;
};
} // namespace ui