playfab_ex v0.2.2 PlayfabEx.Admin.Default.PlayerItemManagement

Link to this section Summary

Functions

Increments the specified virtual currency by the stated amount

Checks the global count for the limited edition item

Retrieves the specified user’s current inventory of virtual goods

Adds the specified items to the specified user inventories

Increases the global count for the given scarce resource

Revokes access to an item in a user’s inventory

Decrements the specified virtual currency by the stated amount

Link to this section Functions

Link to this function add_user_virtual_currency(params)
add_user_virtual_currency(map()) ::
  {:ok, map()} |
  {:error, String.t()}

Increments the specified virtual currency by the stated amount

@link https://api.playfab.com/documentation/admin/method/AddUserVirtualCurrency

Link to this function check_limited_edition_item_availability(params)
check_limited_edition_item_availability(map()) ::
  {:ok, map()} |
  {:error, String.t()}

Checks the global count for the limited edition item.

@link https://api.playfab.com/documentation/admin/method/CheckLimitedEditionItemAvailability

Link to this function get_user_inventory(params)
get_user_inventory(map()) :: {:ok, map()} | {:error, String.t()}

Retrieves the specified user’s current inventory of virtual goods

@link https://api.playfab.com/documentation/admin/method/GetUserInventory

Link to this function grant_items_to_users(params)
grant_items_to_users(map()) :: {:ok, map()} | {:error, String.t()}

Adds the specified items to the specified user inventories

@link https://api.playfab.com/documentation/admin/method/GrantItemsToUsers

Link to this function increment_limited_edition_item_availability(params)
increment_limited_edition_item_availability(map()) ::
  {:ok, map()} |
  {:error, String.t()}

Increases the global count for the given scarce resource.

@link https://api.playfab.com/documentation/admin/method/IncrementLimitedEditionItemAvailability

Link to this function revoke_inventory_item(params)
revoke_inventory_item(map()) :: {:ok, map()} | {:error, String.t()}

Revokes access to an item in a user’s inventory

@link https://api.playfab.com/documentation/admin/method/RevokeInventoryItem

Link to this function subtract_user_virtual_currency(params)
subtract_user_virtual_currency(map()) ::
  {:ok, map()} |
  {:error, String.t()}

Decrements the specified virtual currency by the stated amount

@link https://api.playfab.com/documentation/admin/method/SubtractUserVirtualCurrency