mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 17:43:52 +00:00
Add mail item attachment support for sending
- CMSG_SEND_MAIL now includes item GUIDs (up to 12 per WotLK) - Right-click items in bags to attach when mail compose is open - Compose window shows 12-slot attachment grid with item icons - Click attached items to remove them - Classic/Vanilla falls back to single item GUID format
This commit is contained in:
parent
ce30cedf4a
commit
9906269671
8 changed files with 203 additions and 17 deletions
|
|
@ -2290,7 +2290,8 @@ class SendMailPacket {
|
|||
public:
|
||||
static network::Packet build(uint64_t mailboxGuid, const std::string& recipient,
|
||||
const std::string& subject, const std::string& body,
|
||||
uint32_t money, uint32_t cod);
|
||||
uint32_t money, uint32_t cod,
|
||||
const std::vector<uint64_t>& itemGuids = {});
|
||||
};
|
||||
|
||||
/** CMSG_MAIL_TAKE_MONEY packet builder */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue