game / pragma.inventory / InventoryService / grantItemsPartnerV2 /

grantItemsPartnerV2 #

suspend fun grantItemsPartnerV2(partnerSession: PartnerSession, request: InventoryRpc.GrantItemsPartnerV2Request): InventoryRpc.GrantItemsPartnerV2Response

Grants a list of InventoryCommon.ItemServerGrantV1 item grants to a player.

Plugins

  • InstancedItemPlugin.newInstanced
  • StackableItemPlugin.onUpdate

PragmaResultErrors

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