This is the server response to search request. This is not last search packet.
SNAC flags bit1 allways=1. Server sends last search found record via
SNAC(15,03)/07DA/01AE. Success byte allways
= 0xA (SEARCH_SUCCESS).
00 15 |
|
word |
|
SNAC family |
00 03 |
|
word |
|
SNAC subtype |
00 01 |
|
word |
|
SNAC flags |
xx xx xx xx |
|
dword |
|
SNAC request-id |
|
|
|
00 01 |
|
word |
|
TLV.Type(1) - encapsulated META_DATA |
xx xx |
|
word |
|
TLV.Length |
|
|
|
xx xx |
|
word (LE) |
|
data chunk size (TLV.Length-2) |
xx xx xx xx |
|
dword (LE) |
|
request owner uin |
DA 07 |
|
word (LE) |
|
data type: META_DATA |
02 00 |
|
word (LE) |
|
request sequence number |
A4 01 |
|
word (LE) |
|
data subtype: META_USER_FOUND |
|
0A |
|
char |
|
success byte |
|
xx xx |
|
word (LE) |
|
following data size |
|
xx xx xx xx |
|
dword (LE) |
|
found user uin |
xx xx |
|
word (LE) |
|
nickname string length |
xx .. xx 00 |
|
asciiz str |
|
nickname string |
xx xx |
|
word (LE) |
|
first name string length |
xx .. xx 00 |
|
asciiz str |
|
first name string |
xx xx |
|
word (LE) |
|
last name string length |
xx .. xx 00 |
|
asciiz str |
|
last name string |
xx xx |
|
word (LE) |
|
email string length |
xx .. xx 00 |
|
asciiz str |
|
email string |
xx |
|
char |
|
authorization flag |
xx xx |
|
word (LE) |
|
online status (0 - offline, 1 - online, 2 - non_webaware) |
xx |
|
char |
|
gender |
xx xx |
|
word (LE) |
|
age |
|
|
| |
|
|
|
| |
|
|
|
|