game / pragma.inventory / InventoryService / destroyItemsOperatorV1 /

destroyItemsOperatorV1 #

suspend fun destroyItemsOperatorV1(session: OperatorSession, request: InventoryRpc.DestroyItemsOperatorV1Request): InventoryRpc.DestroyItemsOperatorV1Response

Applies a list of InventoryCommon.ItemServerDestroyV1 item destroys for an operator to delete player inventory items.

PragmaResultErrors

  • IllegalStateException - If an item destroy does not have a specific item set on it.
  • PragmaError.InventoryService_GetError - When db retrieve fails.