game / pragma.inventory / InventoryService / destroyItemsServiceV2 /

destroyItemsServiceV2 #

suspend fun destroyItemsServiceV2(session: ServiceSession, request: InventoryRpc.DestroyItemsServiceV2Request): InventoryRpc.DestroyItemsServiceV2Response

Applies a list of InventoryCommon.ItemServerDestroyV1 item destroys 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.