DB/Package: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by 5 users not shown)
Line 2: Line 2:


This is not used in the current client's UI and may be filtered serverside. In current emulators, this is just passed as unknown and ignored. ''(Note: This is the field behind stationary in the CMSG_SEND_MAIL packet).''
This is not used in the current client's UI and may be filtered serverside. In current emulators, this is just passed as unknown and ignored. ''(Note: This is the field behind stationary in the CMSG_SEND_MAIL packet).''
{{Template:Sandbox/VersionRange|min_expansionlevel=1|max_expansionlevel=6}}


==Structure==
==Structure==
Line 20: Line 23:
|}
|}


==6.0.1.18179==
==1.12.1.5875, 6.0.1.18179==
  struct PackageRec {
  struct PackageRec {
   uint32_t m_ID;
   uint32_t m_ID;
   stringref m_icon;
   {{Template:Type|stringref}} m_icon;
   uint32_t m_cost;
   uint32_t m_cost;
   stringref m_name_lang;
   {{Template:Type|langstringref}} m_name_lang;
  };
  };
[[Category:DBC]][[Category:DBC_WotLK]]
[[Category:DBC]]
[[Category:DBC_Vanilla]]
[[Category:DBC_WotLK]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 21:58, 1 October 2017

This contains possible alternate icons for ingame mail. Its set in MailboxMessageInfo member #70 (+0x118). You can set a package with LUA:SetPackage(index) which is actually sent when you send the next mail. May only work for deliveries with items.

This is not used in the current client's UI and may be filtered serverside. In current emulators, this is just passed as unknown and ignored. (Note: This is the field behind stationary in the CMSG_SEND_MAIL packet).

Vanilla … WoD


Structure

Column Field Type Notes
1 ID Integer
2 Icon String Name of the icon displayed.
3 Price Integer This gets added onto the price for sending a mail.
4-20 Description Loc Name of the package.

1.12.1.5875, 6.0.1.18179

struct PackageRec {
  uint32_t m_ID;
  stringref m_icon;
  uint32_t m_cost;
  langstringref m_name_lang;
};