game / pragma.inventory / InventoryService / matchEndV4 /

matchEndV4 #

suspend fun matchEndV4(session: ServiceSession, request: InventoryRpc.MatchEndV4Request): InventoryRpc.MatchEndV4Response

Processes match end inventory results for a specific player.

Plugins

  • InstancedItemPlugin.newInstanced
  • InstancedItemPlugin.update
  • RewardSelectorPlugin.select
  • StackableItemPlugin.onUpdate

PragmaResultErrors

  • IllegalStateException - If an item grant does not have a specific item set on it.
  • PragmaError.InventoryService_CatalogIdNotFound - If player inventory has a catalog ID that does not exist.
  • PragmaError.InventoryService_CatalogIdNotFound - If match end attempts to update an instanced item not in player inventory.
  • PragmaError.InventoryService_GetError - When db retrieve fails.
  • PragmaError.InventoryService_GrantError - When db errors.