game-common / pragma.inventory / EntitlementProviderPlugin /
EntitlementProviderPlugin #
interface EntitlementProviderPlugin : PragmaServicePlugin
Plugin interface used to manage entitlement fulfillment with a third party provider.
Functions #
Name | Summary |
---|---|
A unique ID for the provider this plugin is implemented for. Used when mapping entitlements returned from fetchPlayerEntitlements to content configured in ThirdPartyEntitlementMappings.json | |
Used by the Inventory Service to obtain a full view of the player’s entitlements in the third party provider. These results will be used to determine if any Pragma content should be granted or removed from the player’s inventory. | |
Retrieves the associated IdProviderAccount for a given IdProvider, ex: "STEAM", "TWITCH", etc. or null if no such account can be found. | |
if the ProviderEntitlement has ProviderDetails for this plugin’s provider, return the thirdPartyItemIds from those details | |
This method will be invoked with the list of fulfilled entitlements that had been successfully marked for fulfillment internally in Pragma. |