SimTX API v24/Packets/CatalogDeleteResult
Appearance
| Frame | {{{frame}}}, field {{{field}}}
|
|---|---|
| Member | {{{member}}}
|
| Direction | Server → client |
| Session | Control (catalog) |
| Roles | |
| Permission | None |
| Answers | CatalogDelete |
| Defined in |
|
CatalogDeleteResult reports the outcome of a CatalogDelete.
Layout
| 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
- 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