Provide an API to access Inventory service. More...
Public Member Functions | |
| void | BulkDeleteUserInventoryItems (string inventoryId, string userId, DeleteUserInventoryItemRequest[] request, ResultCallback< DeleteUserInventoryItemResponse[]> callback) |
| void | BulkDeleteUserInventoryItems (string inventoryId, string userId, BulkDeleteUserInventoryItemsPayload[] payload, ResultCallback< DeleteUserInventoryItemResponse[]> callback) |
| Remove items from player's inventory. | |
| void | BulkUpdateUserInventoryItems (string inventoryId, string userId, ServerUpdateUserInventoryItemRequest[] request, ResultCallback< UpdateUserInventoryItemResponse[]> callback) |
| void | BulkUpdateUserInventoryItems (string inventoryId, string userId, ServerUpdateUserInventoryItemPayload[] payload, ResultCallback< UpdateUserInventoryItemResponse[]> callback) |
| Update item attributes and tags for a specidic user. | |
| void | ConsumeUserInventoryItem (string inventoryId, string userId, ConsumeUserItemsRequest request, ResultCallback< UserItem > callback) |
| void | ConsumeUserInventoryItem (string inventoryId, string userId, uint qty, string sourceItemId, ConsumeUserInventoryItemOptionalParameters optionalParameters, ResultCallback< UserItem > callback) |
| Make a user consume item. | |
| void | CreateIntegrationConfiguration (ServerCreateIntegrationConfigurationRequest request, ResultCallback< ServerIntegrationConfiguration > callback) |
| Creates a new integration configuration on the current namespace. | |
| void | CreateInventoryConfiguration (ServerCreateInventoryConfigurationRequest request, ResultCallback< InventoryConfiguration > callback) |
| void | CreateInventoryConfiguration (string code, uint initialMaxSlots, uint maxInstancesPerUser, uint maxUpgradeSlots, CreateInventoryConfigurationOptionalParameters optionalParameters, ResultCallback< InventoryConfiguration > callback) |
| Creates a new inventory configuration for the current namespace. | |
| void | CreateInventoryTag (ServerCreateInventoryTagRequest request, ResultCallback< InventoryTag > callback) |
| void | CreateInventoryTag (string name, string inventoryOwner, ResultCallback< InventoryTag > callback) |
| Create an inventory tag on the current namespace. | |
| void | CreateItemTypes (ServerCreateItemTypeRequest request, ResultCallback< InventoryItemType > callback) |
| void | CreateItemTypes (string name, ResultCallback< InventoryItemType > callback) |
| Create a new item type on the current namespace. | |
| void | CreateUserInventory (ServerCreateInventoryRequest request, ResultCallback< UserInventory > callback) |
| Grant inventory to the player. | |
| void | DeleteInventoryConfiguration (string inventoryConfigurationId, ResultCallback callback) |
| Deletes inventory configuration data via its configuration Id. | |
| void | DeleteInventoryTag (string tagName, ResultCallback callback) |
| Delete an inventory tag on the current namespace via its name. | |
| void | DeleteItemTypes (string itemTypeName, ResultCallback callback) |
| Delete an item type on the current namespace via its name. | |
| void | DeleteUserInventory (string inventoryId, ServerDeleteInventoryRequest request, ResultCallback callback) |
| Delete user inventory based on inventory id. | |
| void | GetAllInventoryConfigurations (ResultCallback< InventoryConfigurationsPagingResponse > callback, InventoryConfigurationSortBy sortBy=InventoryConfigurationSortBy.CreatedAt, int limit=25, int offset=0, string inventoryConfigurationCode="") |
| Retrieves all inventory configurations on the namespace. | |
| void | GetIntegrationConfigurations (ResultCallback< ServerIntegrationConfigurationsPagingResponse > callback, ServerIntegrationConfigurationSortBy sortBy=ServerIntegrationConfigurationSortBy.CreatedAt, int limit=25, int offset=0) |
| Retrieves all available integration configurations on the current namespace. | |
| void | GetInventoryConfiguration (string inventoryConfigurationId, ResultCallback< InventoryConfiguration > callback) |
| Retrieves inventory configuration data via its configuration Id. | |
| void | GetInventoryTags (ResultCallback< InventoryTagsPagingResponse > callback, ItemTypeSortBy sortBy=ItemTypeSortBy.CreatedAt, int limit=25, int offset=0) |
| Retrieves all available inventory tags on the current namespace. | |
| void | GetItemTypes (ResultCallback< ItemTypesPagingResponse > callback, ItemTypeSortBy sortBy=ItemTypeSortBy.CreatedAt, int limit=25, int offset=0) |
| Retrieves available item types on the current namespace. | |
| void | GetUserInventories (ResultCallback< UserInventoriesPagingResponse > callback, UserInventorySortBy sortBy=UserInventorySortBy.CreatedAt, int limit=25, int offset=0, string inventoryConfigurationCode="", string userId="") |
| Retrieve list of user inventories. | |
| void | GetUserInventory (string inventoryId, ResultCallback< UserInventory > callback) |
| void | GetUserInventoryAllItems (string inventoryId, ResultCallback< UserItemsPagingResponse > callback) |
| Retrieve a list of user inventories. | |
| void | GetUserInventoryAllItems (string inventoryId, GetUserInventoryAllItemsOptionalParameters optionalParam, ResultCallback< UserItemsPagingResponse > callback) |
| Retrieve a list of user inventories. | |
| void | GetUserInventoryAllItems (string inventoryId, ResultCallback< UserItemsPagingResponse > callback, UserItemSortBy sortBy=UserItemSortBy.CreatedAt, int limit=25, int offset=0, string sourceItemId="", TagQueryBuilder tagBuilder=null, int? quantity=null) |
| void | GetUserInventoryItem (string inventoryId, string slotId, string sourceItemId, ResultCallback< UserItem > callback) |
| Listing all items in an inventory. | |
| void | RunChainingOperation (ServerInventoryChainingOperationRequest request, ResultCallback< InventoryChainingOperationResponse > callback) |
| Run a series of inventory operations as defined on request. | |
| void | SaveUserInventoryItem (string userId, string inventoryConfigurationCode, string source, string sourceItemId, string type, uint quantity, ResultCallback< UserItem > callback) |
| Add item to player inventory using inventoryConfigurationCode. | |
| void | SaveUserInventoryItem (string userId, string inventoryConfigurationCode, string source, string sourceItemId, string type, uint quantity, SaveUserInventoryItemOptionalParameters optionalParameters, ResultCallback< UserItem > callback) |
| Add item to player inventory using inventoryConfigurationCode. | |
| void | SaveUserInventoryItemToInventory (string userId, string inventoryId, ServerSaveUserInventoryItemRequest request, ResultCallback< UserItem > callback) |
| void | SaveUserInventoryItemToInventory (string inventoryId, string userId, string source, string sourceItemId, string type, uint quantity, SaveUserInventoryItemToInventoryOptionalParameters optionalParameters, ResultCallback< UserItem > callback) |
| Add item to player inventory using inventoryId. | |
| void | SyncUserEntitlements (string userId, ResultCallback callback) |
| Synchronizes user entitlement data to Inventory service. | |
| void | UpdateIntegrationConfiguration (string integrationConfigurationId, ServerUpdateIntegrationConfigurationRequest request, ResultCallback< ServerIntegrationConfiguration > callback) |
| Updates an integration configuration via its id. | |
| void | UpdateIntegrationConfigurationStatus (string integrationConfigurationId, ServerUpdateIntegrationConfigurationStatusRequest request, ResultCallback< ServerIntegrationConfiguration > callback) |
| Updates an integration configuration's status via its id. | |
| void | UpdateInventoryConfiguration (string inventoryConfigurationId, ServerUpdateInventoryConfigurationRequest request, ResultCallback< InventoryConfiguration > callback) |
| Updates inventory configuration data via its configuration Id. | |
| void | UpdateUserInventory (string inventoryId, ServerUpdateInventoryRequest request, ResultCallback< UserInventory > callback) |
| Update user inventory slot limit. | |
| void | ValidateUserInventoryCapacity (string userId, ServerValidateUserInventoryCapacityRequest request, ResultCallback callback) |
| Validates the capacity of a user's inventory. | |
Additional Inherited Members | |
| Properties inherited from AccelByte.Core.WrapperBase | |
| Utils.AccelByteIdValidator | IdValidator [get] |
Provide an API to access Inventory service.
|
inline |
Remove items from player's inventory.
| inventoryId | InventoryId to be process |
| userId | user to be process |
| payload | request body contains the item detail |
| callback | Returns a Result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Update item attributes and tags for a specidic user.
| inventoryId | InventoryId to be process |
| userId | User id to be processed |
| payload | Detailed data to be processed |
| callback | Returns a Result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Make a user consume item.
| inventoryId | InventoryId to be process |
| userId | User id to be processed |
| qty | Amount of item to consume |
| sourceItemId | Item id to consume |
| optionalParameters | Optional parameters. Can be null. |
| callback | Returns a Result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Creates a new integration configuration on the current namespace.
| request | Data of integration configuration to create |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Creates a new inventory configuration for the current namespace.
| code | Configuration code for the new inventory configuration |
| initialMaxSlots | Starting slots when an inventory is created using the configuration |
| maxInstancesPerUser | Maximum instances of the inventory type per user |
| maxUpgradeSlots | Maximum slots of the inventory when fully upgraded |
| optionalParameters | Optional parameters. Can be null. |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Create an inventory tag on the current namespace.
| name | Name of the inventory tag to create |
| inventoryOwner | Owner of inventory tag to create |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Create a new item type on the current namespace.
| name | Name of item type to create. |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Grant inventory to the player.
| request | Detailed data to be processed |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Deletes inventory configuration data via its configuration Id.
| inventoryConfigurationId | Id of inventory configuration to delete |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Delete an inventory tag on the current namespace via its name.
| tagName | Inventory tag name to delete |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Delete an item type on the current namespace via its name.
| itemTypeName | Name of item type to delete. |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Delete user inventory based on inventory id.
| inventoryId | Inventory Id to be processed |
| request | Detailed data to be processed |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Retrieves all inventory configurations on the namespace.
| callback | Returns a Result via callback when completed |
| sortBy | Optional parameter to sort result items by |
| limit | Optional parameter to limit amount of items returned in a page |
| offset | Optional parameter to traverse pagination by amount of items |
| inventoryConfigurationCode | Optional parameter to filter result items by inventory configuration code |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Retrieves all available integration configurations on the current namespace.
| callback | Returns a result via callback when completed |
| sortBy | Optional parameter to sort result data by |
| limit | Optional parameter to limit amount of items returned in a page |
| offset | Optional parameter to traverse pagination by amount of items |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Retrieves inventory configuration data via its configuration Id.
| inventoryConfigurationId | Id of inventory configuration to fetch data for |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Retrieves all available inventory tags on the current namespace.
| callback | Returns a result via callback when completed |
| sortBy | Optional parameter to sort result items by |
| limit | Optional parameter to limit amount of items returned in a page |
| offset | Optional parameter to traverse pagination by amount of items |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Retrieves available item types on the current namespace.
| callback | Returns a result via callback when completed |
| sortBy | Optional parameter to sort result items by |
| limit | Optional parameter to limit amount of items returned in a page |
| offset | Optional parameter to traverse pagination by amount of items |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Retrieve list of user inventories.
| callback | |
| sortBy | Optional parameter to set inventory list order |
| limit | Optional parameter to define limit for the result length |
| offset | Optional parameter to define offset for the result |
| inventoryConfigurationCode | Optional parameter to query based on inventory configuration code |
| userId | Optional parameter to query based on a specific userId |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Retrieve a list of user inventories.
| inventoryId | Selected inventory Id |
| optionalParameters | Optional parameter to get specific result |
| callback | Returns a Result that contains UserItemsPagingResponse via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Retrieve a list of user inventories.
| inventoryId | Selected inventory Id |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Listing all items in an inventory.
| inventoryId | Selected inventory Id |
| slotId | slot id to be fetch |
| sourceItemId | item id to fetch |
| callback | Returns a Result that contains UserItem via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Run a series of inventory operations as defined on request.
| request | Operations to run, sequentially by index |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Add item to player inventory using inventoryConfigurationCode.
| userId | user to be process |
| inventoryConfigurationCode | inventory config code to be processed |
| source | item source to be processed |
| sourceItemId | item source id to be processed |
| type | item type to be processed |
| quantity | item quantity to be processed |
| callback | Returns a Result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Add item to player inventory using inventoryConfigurationCode.
| userId | user to be process |
| inventoryConfigurationCode | inventory config code to be processed |
| source | item source to be processed |
| sourceItemId | item source id to be processed |
| type | item type to be processed |
| quantity | item quantity to be processed |
| optionalParameters | optional parameters to be processed |
| callback | Returns a Result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Add item to player inventory using inventoryId.
| inventoryId | InventoryId to be process |
| userId | user to be process |
| source | Source of item to be added, can be ECOMMERCE or OTHER |
| sourceItemId | Item id of item to be added |
| type | Type of item to be added |
| quantity | Quantity of item to be added |
| optionalParameters | Optional parameters. Can be null. |
| callback | Returns a Result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Synchronizes user entitlement data to Inventory service.
| userId | Id of user to sync data for |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Updates an integration configuration via its id.
| integrationConfigurationId | Id of integration configuration to update |
| request | Data of integration configuration to update |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Updates an integration configuration's status via its id.
| integrationConfigurationId | Id of integration configuration to update |
| request | Data of integration configuration status to update |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Updates inventory configuration data via its configuration Id.
| inventoryConfigurationId | Id of inventory configuration to update |
| request | Inventory configuration data to update |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Update user inventory slot limit.
| inventoryId | Inventory Id to be processed |
| request | Detailed data to be processed |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.
|
inline |
Validates the capacity of a user's inventory.
| userId | Id of user to validate inventory capacity for |
| request | Request data of inventory to validate |
| callback | Returns a result via callback when completed |
Implements AccelByte.Server.Interface.IServerInventory.