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)
|