game / pragma.inventory / InventoryService / simulateRewardsV2 /

simulateRewardsV2 #

suspend fun simulateRewardsV2(session: PartnerSession, request: InventoryRpc.SimulateRewardsV2Request): InventoryRpc.SimulateRewardsV2Response

Simulates the result of applying a reward grant.

Plugins

  • RewardSelectorPlugin.select
  • InstancedItemPlugin.newInstanced - Invoked if simulated reward would grant instanced items.
  • StackableItemPlugin.onUpdate called for stackable item grants and updates