game-common / pragma.inventory /

Package pragma.inventory #

Types #

NameSummary

CraftingPlugin

interface CraftingPlugin

Plugin to define crafting behavior, enabling arbitrary inventory transformations.

EntitlementProviderPlugin

interface EntitlementProviderPlugin : PragmaServicePlugin

Plugin interface used to manage entitlement fulfillment with a third party provider.

InstancedItemPlugin

interface InstancedItemPlugin

Plugin to define the behavior of creating and updating instanced items.

InventoryModifications

data class InventoryModifications(rewardGrants: List<RewardGrant> = listOf(), instancedItemServerGrants: List<InstancedItemServerGrant> = listOf(), stackableItemGrants: List<StackableItemGrant> = listOf(), serverInstancedItemUpdates: List<ServerInstancedItemUpdate> = listOf(), instancedItemsToDestroy: List<<ERROR CLASS>> = listOf())

Object returned by inventory plugins to perform inventory operations. In some cases, these modifications may be in addition to a primary modification like the instanced item being created by InstancedItemPlugin.newInstanced.

InventoryServiceContent

class InventoryServiceContent

Content data for the inventory service, including item catalogs, crafting, rewards, and grants.

LimitedGrantPlugin

interface LimitedGrantPlugin

Plugin to determine if player should be given a limited grant

RewardSelectorPlugin

interface RewardSelectorPlugin

Plugin to define the behavior of rolling random rewards from RewardGrants.