NEWSS:AddNotification: Difference between revisions
Steveice10 (talk | contribs) m Add maximum sizes for messages and image data. |
DaniElectra (talk | contribs) Add flag for browser link on message |
||
Line 64: | Line 64: | ||
|- | |- | ||
| 0x5 | | 0x5 | ||
| | | 0x1 | ||
| u8 flag: 0 = message has a browser link, 1 = message doesn't have a browser link | |||
|- | |||
| 0x5 | |||
| 0x2 | |||
| unknown | | unknown | ||
|- | |- | ||
Line 97: | Line 101: | ||
=Message= | =Message= | ||
This is an UTF-16 string for the notification message text, this buffer includes the null-terminator. The maximum size in bytes is 0x1780. | This is an UTF-16 string for the notification message text, this buffer includes the null-terminator. When the message has the browser link flag set, the URL it's located after the null-terminator of the message text as a UTF-8 string, also with null-termination. The maximum size in bytes is 0x1780. | ||
=Image= | =Image= |