Provide information of entitlements owned by the user. More...
Public Member Functions | |
| void | QueryUserEntitlements (string entitlementName=null, string itemId=null, int offset=0, int limit=20, ResultCallback< EntitlementPagingSlicedResult > callback=null, EntitlementClazz entitlementClazz=EntitlementClazz.NONE, EntitlementAppType entitlementAppType=EntitlementAppType.NONE, string[] features=null) |
| Query user entitlements. | |
| void | QueryUserEntitlements (QueryUserEntitlementsOptionalParameters optionalParameters, ResultCallback< EntitlementPagingSlicedResult > callback) |
| Query user entitlements. | |
| void | QueryUserEntitlements (string targetUserId, ResultCallback< EntitlementPagingSlicedResult > callback) |
| Query user entitlements. | |
| void | QueryUserEntitlements (string targetUserId, QueryUserEntitlementsOptionalParameters optionalParameters, ResultCallback< EntitlementPagingSlicedResult > callback) |
| Query user entitlements. | |
| void | QueryUserSubscription (PlatformStoreId platformStoreId, string userId, ResultCallback< SubscriptionPagingSlicedResult > callback) |
| Query other user's thirdparty subscription. | |
| void | QueryUserSubscription (PlatformStoreId platformStoreId, string userId, QueryUserSubscriptionRequestOptionalParameters optionalParameters, ResultCallback< SubscriptionPagingSlicedResult > callback) |
| Query other user's thirdparty subscription. | |
| void | GetUserEntitlementById (string entitlementId, ResultCallback< EntitlementInfo > callback) |
| Get user's entitlement by the entitlementId. | |
| void | GetUserEntitlementOwnershipByAppId (string appId, ResultCallback< Ownership > callback) |
| Get user entitlement ownership by app id. | |
| void | GetUserEntitlementOwnershipBySku (string sku, ResultCallback< Ownership > callback) |
| Get user entitlement ownership by SKU. | |
| void | GetUserEntitlementOwnershipByItemId (string ItemId, ResultCallback< Ownership > callback) |
| Get user entitlement ownership by ItemId. | |
| void | GetUserEntitlementOwnershipAny (string[] itemIds, string[] appIds, string[] skus, ResultCallback< Ownership > callback) |
| Get user entitlement ownership if any of item IDs, app IDs, or SKUs are true. | |
| void | GetUserEntitlementOwnershipToken (string key, string[] itemIds, string[] appIds, string[] skus, ResultCallback< OwnershipEntitlement[]> callback, bool verifyPublicKey=true, bool verifyExpiration=true, bool verifyUserId=true) |
| Get user entitlement ownership if any of item IDs, app IDs, or SKUs are true. | |
| void | GetUserEntitlementOwnershipTokenOnly (string[] itemIds, string[] appIds, string[] skus, ResultCallback< OwnershipToken > callback) |
| Get user entitlement ownership token if any of item IDs, app IDs, or SKUs are true. | |
| void | ConsumeUserEntitlement (string entitlementId, int useCount, ResultCallback< EntitlementInfo > callback, string[] options=null, string requestId=null) |
| Consume a user entitlement. | |
| void | GetUserEntitlementHistory (string userId, ResultCallback< UserEntitlementHistoryResponse > callback) |
| Get target user's entitlement history. | |
| void | GetUserEntitlementHistory (string userId, GetUserEntitlementHistoryOptionalParams optionalParams, ResultCallback< UserEntitlementHistoryResponse > callback) |
| Get target user's entitlement history. | |
| void | CreateDistributionReceiver (string extUserId, Attributes attributes, ResultCallback callback) |
| Create distribution receiver for current user. | |
| void | DeleteDistributionReceiver (string extUserId, ResultCallback callback) |
| Delete distribution receiver from user. | |
| void | GetDistributionReceiver (string publisherNamespace, string publisherUserId, ResultCallback< DistributionReceiver[]> callback) |
| Get distribution receiver from user You can target Publisher Namespace and Publisher UserId or Game Namespace and Game UserId. | |
| void | UpdateDistributionReceiver (string extUserId, Attributes attributes, ResultCallback callback) |
| Update distribution receiver for current user. | |
| void | SyncMobilePlatformPurchaseApple (string productId, string transactionId, string receiptData, ResultCallback callback) |
| Sync (Verify and fulfil) item entitlement from Apple Store platform purchase. | |
| void | SyncMobilePlatformPurchaseApple (string productId, string transactionId, string receiptData, PlatformSyncMobileAppleOptionalParam optionalParameters, ResultCallback callback) |
| Sync (Verify and fulfil) item entitlement from Apple Store platform purchase. | |
| void | SyncMobilePlatformSubscriptionApple (string transactionId, ResultCallback callback) |
| Sync (Verify and fulfil) subscription item entitlement from Apple Store platform purchase. | |
| void | SyncMobilePlatformPurchaseGoogle (string orderId, string packageName, string productId, long purchaseTime, string purchaseToken, bool autoAck, ResultCallback< GoogleReceiptResolveResult > callback) |
| Sync (Verify and fulfil) item entitlement from Google Play platform purchase. | |
| void | SyncMobilePlatformPurchaseGoogle (string orderId, string packageName, string productId, long purchaseTime, string purchaseToken, bool autoAck, PlatformSyncMobileGoogleOptionalParameters optionalParameters, ResultCallback< GoogleReceiptResolveResult > callback) |
| Sync (Verify and fulfil) item entitlement from Google Play platform purchase. | |
| void | SyncMobilePlatformSubscriptionGoogle (string orderId, string packageName, string productId, long purchaseTime, string purchaseToken, bool autoAck, ResultCallback< GoogleReceiptResolveResult > callback) |
| Sync (Verify and fulfil) item subscription from Google Play platform purchase. | |
| void | SyncMobilePlatformSubscriptionGoogle (string orderId, string packageName, string productId, long purchaseTime, string purchaseToken, bool autoAck, PlatformSyncMobileGoogleOptionalParameters optionalParameters, ResultCallback< GoogleReceiptResolveResult > callback) |
| Sync (Verify and fulfil) item subscription from Google Play platform purchase. | |
| void | SyncXBoxDLC (XBoxDLCSync XboxDLCSync, ResultCallback callback) |
| Synchronize Xbox inventory's DLC items. | |
| void | SyncSteamDLC (string userSteamId, string userAppId, ResultCallback callback) |
| Synchronize Steam DLC. | |
| void | SyncSteamInventory (string userSteamId, string appId, string productId, double price, string currencyCode, ResultCallback callback) |
| Sync steam inventory's items. | |
| void | SyncSteamInventory (string userSteamId, string appId, string productId, double price, string currencyCode, SyncSteamInventoryOptionalParameters optionalParameters=null, ResultCallback callback=null) |
| Sync steam inventory's items. | |
| void | SyncPSNDLC (PlayStationDLCSync PSSyncModel, ResultCallback callback) |
| Synchronize with DLC entitlements in PSN Store. | |
| void | SyncTwitchDropItem (TwitchDropSync TwitchDropSyncReq, ResultCallback callback) |
| Synchronize with Twitch entitlements in Twitch Drop. | |
| void | SyncEpicGamesDurableItems (string epicGamesJwtToken, ResultCallback callback) |
| Synchronize Epic Game Durable/dlc Items. | |
| void | SyncPSNDLCMultipleService (PlayStationDLCSyncMultipleService playStationDlcSyncMultipleService, ResultCallback callback) |
| Synchronize with dlc entitlements in PSN Store with multiple service labels. | |
| void | ValidateUserItemPurchaseCondition (string[] items, ResultCallback< PlatformValidateUserItemPurchaseResponse[]> callback) |
| Validate User Item Purchase Condition. | |
| void | GetUserEntitlementOwnershipByItemIds (string[] ids, ResultCallback< EntitlementOwnershipItemIds[]> callback) |
| Get user entitlement ownership by itemIds. | |
| void | SyncEntitlementPSNStore (PlayStationDLCSync psnModel, ResultCallback callback) |
| Synchronize with entitlements in PSN Store. | |
| void | SyncXboxInventory (XboxInventoryRequest model, ResultCallback< XboxInventoryResponse[]> callback) |
| Synchronize Comsumable Entitlement in XBOX Inventory. | |
| void | SyncEntitlementPSNMultipleService (PlayStationMultipleServiceRequest playStationMultipleServiceRequest, ResultCallback< PlayStationMultipleServiceResponse[]> callback) |
| Synchronize with entitlements in PSN Store with multiple service labels. | |
| void | SellUserEntitlement (UserEntitlementSoldParams userEntitlementSoldParams, EntitlementSoldRequest entitlementSoldRequest, ResultCallback< SellItemEntitlementInfo > callback) |
| Sell User Entitlement back to the platform if the item is configured to be sellable. | |
| void | SellUserEntitlement (UserEntitlementSoldParams userEntitlementSoldParams, EntitlementSoldRequest entitlementSoldRequest, SellUserEntitlementOptionalParameters optionalParameters, ResultCallback< SellItemEntitlementInfo > callback) |
| Sell User Entitlement back to the platform if the item is configured to be sellable. | |
| void | SellUserEntitlement (string entitlementId, EntitlementSoldRequest entitlementSoldRequest, ResultCallback< SellItemEntitlementInfo > callback) |
| Sell User Entitlement back to the platform if the item is configured to be sellable. | |
| void | SellUserEntitlement (string entitlementId, EntitlementSoldRequest entitlementSoldRequest, SellUserEntitlementOptionalParameters optionalParameters, ResultCallback< SellItemEntitlementInfo > callback) |
| Sell User Entitlement back to the platform if the item is configured to be sellable. | |
| void | SyncOculusConsumableEntitlements (ResultCallback< SyncOculusConsumableEntitlementResponse[]> callback) |
| Synchronize Oculus Consumable Entitlement/IAP. | |
| void | SyncOculusDLC (ResultCallback callback) |
| Synchronize Oculus Downloadable Content/DLC. | |
| void | SyncEpicGameInventory (string epicGamesJwtToken, ResultCallback< SyncEpicGamesInventoryResponse[]> callback) |
| Synchronize Epic Games Inventory/IAP. | |
| void | GetDlcDurableRewardSimpleMap (PlatformType platformType, ResultCallback< DlcConfigRewardShortInfo > callback) |
| Get any "Durable" DLC type from a specific namespace It will not get "Consumables". | |
| void | GetDlcDurableRewardSimpleMap (string platformTypeId, ResultCallback< DlcConfigRewardShortInfo > callback) |
| Get any "Durable" DLC type from a specific namespace It will not get "Consumables". | |
Static Public Member Functions | |
| static string | ConvertActivePlatformToGetDlcDurableReward (PlatformType platformType) |
Additional Inherited Members | |
| Properties inherited from AccelByte.Core.WrapperBase | |
| Utils.AccelByteIdValidator | IdValidator [get] |
Provide information of entitlements owned by the user.
|
inline |
Consume a user entitlement.
| entitlementId | The id of the user entitlement. | ||||
| useCount | Number of consumed entitlement | ||||
| callback | Returns a Result that contains EntitlementInfo via callback when completed
|
|
inline |
Create distribution receiver for current user.
| extUserId | External user id is a random string that can be generated by yourself for the receiver |
| attributes | Attributes that contain of serverId, serverName, characterId, and characterName |
| callback | Returns a Result via callback when completed |
|
inline |
|
inline |
Get distribution receiver from user You can target Publisher Namespace and Publisher UserId or Game Namespace and Game UserId.
| publisherNamespace | Publisher Namespace that used to find user |
| publisherUserId | Publisher UserId that want to be get |
| callback | Returns a Result of Distribution Receivers via callback when completed |
|
inline |
Get any "Durable" DLC type from a specific namespace It will not get "Consumables".
| platformType | Target platform to be queried |
| callback | Returns a result via callback when completed |
|
inline |
Get any "Durable" DLC type from a specific namespace It will not get "Consumables".
| platformTypeId | Target platform to be queried |
| callback | Returns a result via callback when completed |
|
inline |
Get user's entitlement by the entitlementId.
| entitlementId | The id of the entitlement |
| callback | Returns a Result that contains EntitlementInfo via callback when completed |
|
inline |
|
inline |
|
inline |
Get user entitlement ownership if any of item IDs, app IDs, or SKUs are true.
| itemIds | the item Ids |
| appIds | the app Ids |
| skus | the skus |
| callback | Returns user's entitlement ownership result if any parameters are true via callback when completed |
|
inline |
Get user entitlement ownership by app id.
| appId | The game's app id |
| callback | Returns a result that contains user ownership info via callback when completed |
|
inline |
Get user entitlement ownership by ItemId.
| ItemId | the item's ItemId |
| callback | Returns user's entitlement ownership result via callback when completed |
|
inline |
Get user entitlement ownership by itemIds.
| ids | Contains ids ItemIds |
| callback | Returns a Result via callback when completed |
|
inline |
Get user entitlement ownership by SKU.
| sku | the item's SKU |
| callback | Returns user's entitlement ownership result via callback when completed |
|
inline |
Get user entitlement ownership if any of item IDs, app IDs, or SKUs are true.
| key | the public key |
| itemIds | the item Ids |
| appIds | the app Ids |
| skus | the skus |
| callback | R eturns user's entitlement ownership result if any parameters are true via callback when completed |
| verifyPublicKey | Do verification on public key. Set False to skip |
| verifyExpiration | Do verification on expiration. Set False to skip |
| verifyUserId | Do verification on current user id and sub. Set False to skip |
|
inline |
Get user entitlement ownership token if any of item IDs, app IDs, or SKUs are true.
| itemIds | the item Ids |
| appIds | the app Ids |
| skus | the skus |
| callback | Returns user's entitlement ownership token if any parameters are true via callback when completed |
|
inline |
Query user entitlements.
| optionalParameters | List of optional parameter that can be set to narrow the query result |
| callback | Returns a Result that contains EntitlementPagingSlicedResult via callback when completed |
|
inline |
Query user entitlements.
| entitlementName | The name of the entitlement (optional) |
| itemId | Item's id (optional) |
| offset | Offset of the list that has been sliced based on Limit parameter (optional, default = 0) |
| limit | The limit of item on page (optional) |
| callback | Returns a Result that contains EntitlementPagingSlicedResult via callback when completed |
| entitlementClazz | Class of the entitlement (optional) |
| entitlementAppType | This is the type of application that entitled (optional) |
| features | The feature array |
|
inline |
Query user entitlements.
| targetUserId | Target user to be queried |
| optionalParameters | List of optional parameter that can be set to narrow the query result |
| callback | Returns a Result that contains EntitlementPagingSlicedResult via callback when completed |
|
inline |
Query user entitlements.
| targetUserId | Target user to be queried |
| callback | Returns a Result that contains EntitlementPagingSlicedResult via callback when completed |
|
inline |
Query other user's thirdparty subscription.
| platformStoreId | A thirdparty platform id to be queried |
| userId | user Id to be queried |
| optionalParameters | optional parameter for query |
| callback | Returns a Result that contains SubscriptionPagingSlicedResult via callback when completed |
|
inline |
Query other user's thirdparty subscription.
| platformStoreId | A thirdparty platform id to be queried |
| userId | user Id to be queried |
| callback | Returns a Result that contains SubscriptionPagingSlicedResult via callback when completed |
|
inline |
Sell User Entitlement back to the platform if the item is configured to be sellable.
| entitlementId | The user entitlement ID to sell. |
| entitlementSoldRequest | The entitlement sold request containing the use count and request ID. |
| callback | Returns a Result via callback when completed |
|
inline |
Sell User Entitlement back to the platform if the item is configured to be sellable.
| entitlementId | The user entitlement ID to sell. |
| entitlementSoldRequest | The entitlement sold request containing the use count and request ID. |
| optionalParameters | The optional parameter that can be set. |
| callback | Returns a Result via callback when completed |
|
inline |
Sell User Entitlement back to the platform if the item is configured to be sellable.
| userEntitlementSoldParams | The user entitlement parameters containing the user ID and entitlement ID to sell. |
| entitlementSoldRequest | The entitlement sold request containing the use count and request ID. |
| callback | Returns a Result via callback when completed |
|
inline |
Sell User Entitlement back to the platform if the item is configured to be sellable.
| userEntitlementSoldParams | The user entitlement parameters containing the user ID and entitlement ID to sell. |
| entitlementSoldRequest | The entitlement sold request containing the use count and request ID. |
| optionalParameters | The optional parameter that can be set. |
| callback | Returns a Result via callback when completed |
|
inline |
Synchronize with entitlements in PSN Store with multiple service labels.
| playStationMultipleServiceRequest | Playstation's Multiple Service Labels Model Sync Request |
| callback | Returns a Result via callback when completed |
|
inline |
Synchronize with entitlements in PSN Store.
| psnModel | Playstation's DLC Model Sync Request |
| callback | Returns a Result via callback when completed |
|
inline |
|
inline |
|
inline |
Sync (Verify and fulfil) item entitlement from Apple Store platform purchase.
| productId | purchased product id or entitlement's SKU |
| transactionId | purchased transaction id |
| receiptData | purchased product Payload in form of encrypted Apple Receipt |
| optionalParameters | Optional parameters containing exclude old transaction, product region and language |
| callback | Returns a Result via callback when completed |
|
inline |
Sync (Verify and fulfil) item entitlement from Apple Store platform purchase.
| productId | purchased product id or entitlement's SKU |
| transactionId | purchased transaction id |
| receiptData | purchased product Payload in form of encrypted Apple Receipt |
| callback | Returns a Result via callback when completed |
|
inline |
Sync (Verify and fulfil) item entitlement from Google Play platform purchase.
| orderId | Google receipt's order id |
| packageName | Google receipt's package name |
| productId | Google receipt's product id |
| purchaseTime | Google receipt's purchase time |
| purchaseToken | Google receipt's purchase token |
| autoAck | Set true if it is a durable item |
| optionalParameters | Optional parameters containing product region and language |
| callback | Returns a Result that contain whether client should confirm pending purchase or not |
|
inline |
Sync (Verify and fulfil) item entitlement from Google Play platform purchase.
| orderId | Google receipt's order id |
| packageName | Google receipt's package name |
| productId | Google receipt's product id |
| purchaseTime | Google receipt's purchase time |
| purchaseToken | Google receipt's purchase token |
| autoAck | Set true if it is a durable item |
| callback | Returns a Result that contain whether client should confirm pending purchase or not |
|
inline |
Sync (Verify and fulfil) subscription item entitlement from Apple Store platform purchase.
| transactionId | purchased transaction id |
| callback | Returns a Result via callback when completed |
|
inline |
Sync (Verify and fulfil) item subscription from Google Play platform purchase.
| orderId | Google receipt's order id |
| packageName | Google receipt's package name |
| productId | Google receipt's product id |
| purchaseTime | Google receipt's purchase time |
| purchaseToken | Google receipt's purchase token |
| autoAck | Auto acknowledge the purchase. By setting it as false, Game client needs manualy acknowledge it, otherwise this transaction will be expired. By setting it as true, AGS will automatically acknowledged it |
| optionalParameters | Optional parameters containing product region and language |
| callback | Returns a Result that contain whether client should confirm pending purchase or not |
|
inline |
Sync (Verify and fulfil) item subscription from Google Play platform purchase.
| orderId | Google receipt's order id |
| packageName | Google receipt's package name |
| productId | Google receipt's product id |
| purchaseTime | Google receipt's purchase time |
| purchaseToken | Google receipt's purchase token |
| autoAck | Auto acknowledge the purchase. By setting it as false, Game client needs manualy acknowledge it, otherwise this transaction will be expired. By setting it as true, AGS will automatically acknowledged it |
| callback | Returns a Result that contain whether client should confirm pending purchase or not |
|
inline |
Synchronize Oculus Consumable Entitlement/IAP.
| callback | Returns a Result via callback when completed |
|
inline |
Synchronize Oculus Downloadable Content/DLC.
| callback | Returns a Result via callback when completed |
|
inline |
Synchronize with DLC entitlements in PSN Store.
| PSSyncModel | Contains ServiceLabel needed for PlayStation DLC sync |
| callback | Returns a Result via callback when completed |
|
inline |
Synchronize with dlc entitlements in PSN Store with multiple service labels.
| playStationDlcSyncMultipleService | Contains ServiceLabel needed for PlayStation DLC Multiple Service sync |
| callback | Returns a Result via callback when completed |
|
inline |
Synchronize Steam DLC.
| userSteamId | Steam ID of the user |
| userAppId | Steam app id |
| callback | Returns a Result via callback when completed |
|
inline |
Sync steam inventory's items.
| userSteamId | Steam user id |
| appId | Steam application id |
| productId | Steam item def id |
| price | Steam item price |
| currencyCode | Steam item currency code |
| callback | Returns a Result via callback when completed |
|
inline |
Sync steam inventory's items.
| userSteamId | Steam user id |
| appId | Steam application id |
| productId | Steam item def id |
| price | Steam item price |
| currencyCode | Steam item currency code |
| optionalParameters | Optional parameters containing product region and language |
| callback | Returns a Result via callback when completed |
|
inline |
Synchronize with Twitch entitlements in Twitch Drop.
| TwitchDropSyncReq | Contains gameId, region, and language needed for Twitch Drop sync |
| callback | Returns a Result via callback when completed |
|
inline |
Synchronize Xbox inventory's DLC items.
| XboxDLCSync | Contains XSTSToken needed for Xbox DLC sync |
| callback | Returns a Result via callback when completed |
|
inline |
Synchronize Comsumable Entitlement in XBOX Inventory.
| model | XBOX's Consumable Entitlement Model Sync Request |
| callback | Returns a Result via callback when completed |
|
inline |
Update distribution receiver for current user.
| extUserId | External User Id that has been created before for receiver |
| attributes | Attributes that contain of serverId, serverName, characterId, and characterName |
| callback | Returns a Result via callback when completed |
|
inline |