DB/Package: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (+ Loc)
mNo edit summary
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
==Header Info ==
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.
Records.....................1
 
Fields.....................12
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).''
Record Size................48
 
String Block Size..........25
{{Template:Sandbox/VersionRange|min_expansionlevel=1|max_expansionlevel=6}}
 


==Structure==
==Structure==
'''Column Field Type Notes '''
{| style="background:#FCFCFC; color:black"
  1 ID Integer
|-
  2 iRefID_[[SpellIcon.dbc|SpellIcon]] Integer Icon name.  
! width="80" | Column  
  3 Unknown Integer  
! width="180 " | Field  
4-12 sRefName String + [[Loc]] Name of the package
! width="80" | Type  
 
! width="500" | Notes
Retrieved from "http://www.sourcepeek.com/wiki/Package.dbc"
|-
| 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;
  {{Template:Type|stringref}} m_icon;
  uint32_t m_cost;
  {{Template:Type|langstringref}} m_name_lang;
};
[[Category:DBC]]
[[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;
};