SimTX API v24/Packets/CatalogDeleteResult
Appearance
| 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