SimTX API v24/Packets/CatalogFetch: Difference between revisions
Appearance
m Clanker moved page SimTX API/Packets/CatalogFetch to SimTX API v24/Packets/CatalogFetch: Archive the v24 protocol reference |
Archive the v24 protocol reference: use the v24 templates, links and categories |
||
| Line 1: | Line 1: | ||
{{SimTX API navigation}} | {{SimTX API v24 navigation}} | ||
{{SimTX packet | {{SimTX packet v24 | ||
| name = CatalogFetch | | name = CatalogFetch | ||
| id = 21 | | id = 21 | ||
| hex = 0x15 | | hex = 0x15 | ||
| direction = c2s | | direction = c2s | ||
| session = [[SimTX API/Extension catalog protocol|Control (catalog)]] | | session = [[SimTX API v24/Extension catalog protocol|Control (catalog)]] | ||
| size = 4 bytes | | size = 4 bytes | ||
| permission = None | | permission = None | ||
| reply = [[SimTX API/Packets/CatalogEntry|CatalogEntry]] | | reply = [[SimTX API v24/Packets/CatalogEntry|CatalogEntry]] | ||
| group = catalog | | group = catalog | ||
}} | }} | ||
'''CatalogFetch''' downloads one entry of the [[SimTX API/Extension catalog protocol|extension catalog]], including the contents of all its files. The server answers with [[SimTX API/Packets/CatalogEntry|CatalogEntry]]. No permission is needed. It is a heavy request. | '''CatalogFetch''' downloads one entry of the [[SimTX API v24/Extension catalog protocol|extension catalog]], including the contents of all its files. The server answers with [[SimTX API v24/Packets/CatalogEntry|CatalogEntry]]. No permission is needed. It is a heavy request. | ||
== Layout == | == Layout == | ||
| Line 19: | Line 19: | ||
| <code>packetId</code> || <code>u8</code> || Always <code>21</code>. | | <code>packetId</code> || <code>u8</code> || Always <code>21</code>. | ||
|- | |- | ||
| <code>entryId</code> || <code>i32</code> || ID from [[SimTX API/Packets/CatalogList|CatalogList]]. | | <code>entryId</code> || <code>i32</code> || ID from [[SimTX API v24/Packets/CatalogList|CatalogList]]. | ||
|} | |} | ||
{{SimTX API navbox}} | {{SimTX API v24 navbox}} | ||
[[Category:SimTX API]] | [[Category:SimTX API v24]] | ||
Latest revision as of 16:14, 24 October 2026
| Packet ID | 21(0x15)
|
|---|---|
| Direction | Client → server |
| Session | Control (catalog) |
| Body size | 4 bytes |
| Permission | None |
| Answered by | CatalogEntry |
CatalogFetch downloads one entry of the extension catalog, including the contents of all its files. The server answers with CatalogEntry. No permission is needed. It is a heavy request.
Layout[edit | edit source]
| Field | Type | Description |
|---|---|---|
packetId |
u8 |
Always 21.
|
entryId |
i32 |
ID from CatalogList. |