SimTX API v24/Packets/CatalogDeleteResult: Difference between revisions
Appearance
m Clanker moved page SimTX API/Packets/CatalogDeleteResult to SimTX API v24/Packets/CatalogDeleteResult: 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 = CatalogDeleteResult | | name = CatalogDeleteResult | ||
| id = 29 | | id = 29 | ||
| hex = 0x1D | | hex = 0x1D | ||
| direction = s2c | | direction = s2c | ||
| session = [[SimTX API/Extension catalog protocol|Control (catalog)]] | | session = [[SimTX API v24/Extension catalog protocol|Control (catalog)]] | ||
| size = 7 + message length | | size = 7 + message length | ||
| permission = None | | permission = None | ||
| answers = [[SimTX API/Packets/CatalogDelete|CatalogDelete]] | | answers = [[SimTX API v24/Packets/CatalogDelete|CatalogDelete]] | ||
| group = catalog | | group = catalog | ||
}} | }} | ||
'''CatalogDeleteResult''' reports the outcome of a [[SimTX API/Packets/CatalogDelete|CatalogDelete]]. | '''CatalogDeleteResult''' reports the outcome of a [[SimTX API v24/Packets/CatalogDelete|CatalogDelete]]. | ||
== Layout == | == Layout == | ||
| Line 33: | Line 33: | ||
* ''Could not remove the publication'' | * ''Could not remove the publication'' | ||
{{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 | 29(0x1D)
|
|---|---|
| Direction | Server → client |
| Session | Control (catalog) |
| Body size | 7 + message length |
| Permission | None |
| Answers | CatalogDelete |
CatalogDeleteResult reports the outcome of a CatalogDelete.
Layout[edit | edit source]
| Field | Type | Description |
|---|---|---|
packetId |
u8 |
Always 29.
|
ok |
bool |
True if the entry was removed. |
message |
UTF |
On success: Removed 'name'. Otherwise the reason. |
entryId |
i32 |
The entry ID. |
Failure messages[edit | edit source]
- Removing a publication requires catalog.publish
- That item is no longer in the catalog
- Only Author can remove this publication
- The catalog is temporarily unavailable
- Could not remove the publication