SimTX API v24/Packets/CatalogDelete: Difference between revisions
Appearance
SimTX API documentation |
Archive the v24 protocol reference: use the v24 templates, links and categories |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{SimTX API navigation}} | {{SimTX API v24 navigation}} | ||
{{SimTX packet | {{SimTX packet v24 | ||
| name = CatalogDelete | | name = CatalogDelete | ||
| id = 26 | | id = 26 | ||
| hex = 0x1A | | hex = 0x1A | ||
| 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 = <code>catalog.publish</code>, entry owner | | permission = <code>catalog.publish</code>, entry owner | ||
| reply = [[SimTX API/Packets/CatalogDeleteResult|CatalogDeleteResult]] | | reply = [[SimTX API v24/Packets/CatalogDeleteResult|CatalogDeleteResult]] | ||
| group = catalog | | group = catalog | ||
}} | }} | ||
'''CatalogDelete''' removes an entry from the [[SimTX API/Extension catalog protocol|extension catalog]]. Only the account that owns the entry can remove it, and it must hold <code>catalog.publish</code>. The server answers with [[SimTX API/Packets/CatalogDeleteResult|CatalogDeleteResult]]. | '''CatalogDelete''' removes an entry from the [[SimTX API v24/Extension catalog protocol|extension catalog]]. Only the account that owns the entry can remove it, and it must hold <code>catalog.publish</code>. The server answers with [[SimTX API v24/Packets/CatalogDeleteResult|CatalogDeleteResult]]. | ||
== Layout == | == Layout == | ||
| Line 22: | Line 22: | ||
|} | |} | ||
{{SimTX API navbox}} | {{SimTX API v24 navbox}} | ||
[[Category:SimTX API]] | [[Category:SimTX API v24]] | ||
Latest revision as of 16:13, 24 October 2026
| Packet ID | 26(0x1A)
|
|---|---|
| Direction | Client → server |
| Session | Control (catalog) |
| Body size | 4 bytes |
| Permission | catalog.publish, entry owner
|
| Answered by | CatalogDeleteResult |
CatalogDelete removes an entry from the extension catalog. Only the account that owns the entry can remove it, and it must hold catalog.publish. The server answers with CatalogDeleteResult.
Layout[edit | edit source]
| Field | Type | Description |
|---|---|---|
packetId |
u8 |
Always 26.
|
entryId |
i32 |
ID of the entry to remove. |