mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
apply pending protocol, ui, audio, and CodeQL fixes
This commit is contained in:
parent
586fb88c5f
commit
c69457ae3b
14 changed files with 276 additions and 142 deletions
|
|
@ -282,6 +282,7 @@ enum class LogicalOpcode : uint16_t {
|
|||
CMSG_SELL_ITEM,
|
||||
SMSG_SELL_ITEM,
|
||||
CMSG_BUY_ITEM,
|
||||
CMSG_BUYBACK_ITEM,
|
||||
SMSG_BUY_FAILED,
|
||||
|
||||
// ---- Trainer ----
|
||||
|
|
|
|||
|
|
@ -2052,7 +2052,7 @@ public:
|
|||
/** CMSG_BUY_ITEM packet builder */
|
||||
class BuyItemPacket {
|
||||
public:
|
||||
static network::Packet build(uint64_t vendorGuid, uint32_t itemId, uint32_t count);
|
||||
static network::Packet build(uint64_t vendorGuid, uint32_t itemId, uint32_t slot, uint32_t count);
|
||||
};
|
||||
|
||||
/** CMSG_SELL_ITEM packet builder */
|
||||
|
|
@ -2061,6 +2061,12 @@ public:
|
|||
static network::Packet build(uint64_t vendorGuid, uint64_t itemGuid, uint32_t count);
|
||||
};
|
||||
|
||||
/** CMSG_BUYBACK_ITEM packet builder */
|
||||
class BuybackItemPacket {
|
||||
public:
|
||||
static network::Packet build(uint64_t vendorGuid, uint32_t slot);
|
||||
};
|
||||
|
||||
/** SMSG_LIST_INVENTORY parser */
|
||||
class ListInventoryParser {
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue