mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Send CMSG_LOOT_MONEY for online gold looting and replace action bar right-click removal with drag-to-ground
This commit is contained in:
parent
c3b0769982
commit
4c530e9cee
5 changed files with 67 additions and 12 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue