Protocols/OSCAR/SNAC/FEEDBAG REPLY: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/FEEDBAG__REPLY/Origin}} |name=FEEDBAG__REPLY |id=0x0013, 0x0006 |service={{Protocols/OSCAR/Food...") |
No edit summary |
||
| Line 10: | Line 10: | ||
{{Protocols/OSCAR/SNAC/FEEDBAG__REPLY/Description}} | {{Protocols/OSCAR/SNAC/FEEDBAG__REPLY/Description}} | ||
A client will need to handle receiving multiple replies since a Feedbag might not fit in one SNAC, or the server might choose to break it up. | |||
== SNAC Header == | |||
{{Protocols/OSCAR/SNAC/Header | {{Protocols/OSCAR/SNAC/Header | ||
|foodgroup=00 13 | |foodgroup=00 13 | ||
| Line 17: | Line 19: | ||
|reqid=00 00 00 00}} | |reqid=00 00 00 00}} | ||
== SNAC Data == | |||
{| class="wikitable" | |||
! Name | |||
! Type | |||
! Notes | |||
|- | |||
| numClasses | |||
| uint8 (byte) | |||
| Always 0 | |||
|- | |||
| numItems | |||
| uint16 (word) | |||
| Number of items in the Feedbag | |||
|- | |||
| items | |||
| Array of [[Protocols/OSCAR/Foodgroups/FEEDBAG/Items|FEEDBAG Item]] length numItems | |||
| Actual items inside the users Buddy List | |||
|- | |||
| lastUpdate | |||
| t70 | |||
| Most recent update time of any item in the Feedbag | |||
|} | |||
== FEEDBAG SNACs == | |||
{{Protocols/OSCAR/Foodgroups/FEEDBAG/SNACs/Simple}} | {{Protocols/OSCAR/Foodgroups/FEEDBAG/SNACs/Simple}} | ||
Revision as of 04:02, 23 March 2020
| OSCAR Protocol |
| Introduction • Terms • Clients |
| Basic |
| Datatypes • FLAP • SNAC • TLV |
| UUIDs • Errors • Tool IDs |
| Host Interaction |
| Rate Limits • Migration • Messages |
| Other Services |
| ADMIN • ADVERT • ALERT |
| BART • BOS • BUCP • CHAT |
| CHAT_NAV |
| Tutorials |
| Sign On • BART • Rendezvous |
| ICBM • Locate • Buddies |
| Foodgroups |
| OSERVICE (0x0001) |
| LOCATE (0x0002) |
| BUDDY (0x0003) |
| ICBM (0x0004) |
| ADVERT (0x0005) |
| INVITE (0x0006) |
| ADMIN (0x0007) |
| POPUP (0x0008) |
| PD (0x0009) |
| USER_LOOKUP (0x000A) |
| STATS (0x000B) |
| TRANSLATE (0x000C) |
| CHAT_NAV (0x000D) |
| CHAT (0x000E) |
| ODIR (0x000F) |
| BART (0x0010) |
| FEEDBAG (0x0013) |
| ICQ (0x0015) |
| BUCP (0x0017) |
| ALERT (0x0018) |
| PLUGIN (0x0022) |
| UNNAMED_FG_24 (0x0024) |
| MDIR (0x0025) |
| ARS (0x044A) |
| ID | Origin | Name | Foodgroup | Service | Status | Version |
|---|---|---|---|---|---|---|
| 0x0013, 0x0006 | Host | FEEDBAG__REPLY | Unspecified | BOS | Active | 4.0 |
This is the reply to FEEDBAG_QUERY.
A client will need to handle receiving multiple replies since a Feedbag might not fit in one SNAC, or the server might choose to break it up.
SNAC Header
| Foodgroup | uint16 (word) | 00 13 |
| Subgroup | uint16 (word) | 00 06 |
| Flags | uint16 (word) | 00 00 |
| Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
| Name | Type | Notes |
|---|---|---|
| numClasses | uint8 (byte) | Always 0 |
| numItems | uint16 (word) | Number of items in the Feedbag |
| items | Array of FEEDBAG Item length numItems | Actual items inside the users Buddy List |
| lastUpdate | t70 | Most recent update time of any item in the Feedbag |
FEEDBAG SNACs
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||