Difference between revisions of "Game Opcodes:Player Search Comment Response"
From FFXIV Classic Wiki
(Created page with "Sends the search comments for the resulting search results that are sent along with it. :; Opcode - 0x1E0 :; Source - Server :; Data Size - 648 bytes :; Requirements - 0x1D__...") |
(→Visual Layout) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
{| class="wikitable sortable" width="100%" | {| class="wikitable sortable" width="100%" | ||
− | ! colspan=5 | commentData | + | ! colspan=5 | commentData |
|- | |- | ||
! width="50px" style="text-align: center; font-size: 14px;" | Offset | ! width="50px" style="text-align: center; font-size: 14px;" | Offset | ||
Line 37: | Line 37: | ||
| 0x01 || uint16 || 2 Bytes || stringSize || Size of string, including null terminator. Big-Endian. | | 0x01 || uint16 || 2 Bytes || stringSize || Size of string, including null terminator. Big-Endian. | ||
|- | |- | ||
− | | 0x03 || string || | + | | 0x03 || string || variable || comment || The user's search comment, null terminated. |
|} | |} | ||
Line 54: | Line 54: | ||
|- | |- | ||
! 0x00 | ! 0x00 | ||
− | | | + | | colspan="4" style="background:#8FA6E8" | '''searchSessionID''' |
− | | colspan="4" style="background:# | + | | colspan="1" style="background:#8FA6E8" | '''count''' |
+ | | 00 | ||
+ | | colspan="1" style="background:#8FA6E8" | '''resultFlag''' | ||
+ | | 00 || 00 || 00 || 00 || 00 | ||
+ | | colspan="4" style="background:#f1cbff" | | ||
|- | |- | ||
! 0x10 | ! 0x10 | ||
− | | colspan="16" rowspan="39" style="background:#f1cbff" | ''' | + | | colspan="16" rowspan="39" style="background:#f1cbff" | '''searchCommentData''' |
|- | |- | ||
! ~ | ! ~ | ||
Line 67: | Line 71: | ||
{| class="wikitable" style="border:1px solid black; text-align:center;" | {| class="wikitable" style="border:1px solid black; text-align:center;" | ||
− | | colspan=17 | | + | | colspan=17 | SearchComment Layout |
|- | |- | ||
| | | | ||
Line 73: | Line 77: | ||
|- | |- | ||
! 0x00 | ! 0x00 | ||
− | | colspan=" | + | | colspan="1" style="background:#C0E8A7" | '''index''' |
− | | colspan=" | + | | colspan="2" style="background:#f1cbff" | '''stringSize''' |
− | + | | colspan="13" style="background:#f1cbff" | '''comment (up to size of packet)''' | |
− | | colspan=" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
[[Category:Unfinished]] | [[Category:Unfinished]] |
Latest revision as of 16:07, 26 March 2018
Sends the search comments for the resulting search results that are sent along with it.
- Opcode - 0x1E0
- Source - Server
- Data Size - 648 bytes
- Requirements - 0x1D___ was sent by the client.
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | uint32 | 4 Bytes | searchSessionID | The ID of the current search session. This must match the initial result start ID. |
0x04 | byte | 1 Bytes | count | The number of search comments in this packet. |
0x06 | boolean | 1 Bytes | resultFlag | Result Flag (2 = Set Search Comment and End Search, 4 = End Search without setting Search Comment) -- If neither 2 or 4 are specified, the search comments are set but the search does not end. This is probably when multiple 0x1E0 packets need to be sent if all search comments don't fit into one packet. |
0x0C | commentData[] | 600 Bytes | searchComments | The search comment data in this packet. |
commentData | ||||
---|---|---|---|---|
Offset | Data Type | Length | Variable | Description |
0x00 | byte | 1 Bytes | index | Index of player from packet 0x1DF results; first index is 0. All search comments must be set in ascending order from 0 and up, even if the player has no search comment (it must be set as an empty null terminated string). If you skip an index, the following indexes will not have their search comment set by the client. If multiple 0x1E0 packets need to be sent, the client remembers the indexes that were set from the previous packet. |
0x01 | uint16 | 2 Bytes | stringSize | Size of string, including null terminator. Big-Endian. |
0x03 | string | variable | comment | The user's search comment, null terminated. |
Notes
- This packet is repeated until all items have been sent. Once done, 0x1DC is sent to update the UI.
- The client will keep updating the window if more of this + 0x1DD packets are sent.
Visual Layout
Packet Data Layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | searchSessionID | count | 00 | resultFlag | 00 | 00 | 00 | 00 | 00 | |||||||
0x10 | searchCommentData | |||||||||||||||
~ | ||||||||||||||||
0x650 |
SearchComment Layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | index | stringSize | comment (up to size of packet) |