Beamable SDK
|
Public Member Functions | |
Promise< GetMultipliersResponse > | GetMultipliers () |
Provides the VIP Bonus multipliers that are applicable for this player according to their tier. More... | |
Promise< PreviewCurrencyGainResponse > | PreviewCurrencyGain (Dictionary< string, long > currencyIdsToAmount) |
Players may sometimes receive additional currency as a result of qualifying for a VIP Tier This API previews what that amount of currency would be ahead of an update. More... | |
Promise< Unit > | SetCurrency (string currencyId, long amount, string transaction=null) |
Promise< Unit > | SetCurrency (CurrencyRef currency, long amount, string transaction=null) |
Promise< Unit > | AddCurrency (string currencyId, long amount, string transaction=null) |
Promise< Unit > | AddCurrency (CurrencyRef currency, long amount, string transaction=null) |
Promise< Unit > | SetCurrencies (Dictionary< string, long > currencyIdsToAmount, string transaction=null) |
Promise< Unit > | SetCurrencies (Dictionary< CurrencyRef, long > currencyToAmount, string transaction=null) |
Promise< Unit > | AddCurrencies (Dictionary< string, long > currencyIdsToAmount, string transaction=null) |
Promise< Unit > | AddCurrencies (Dictionary< CurrencyRef, long > currencyToAmount, string transaction=null) |
Promise< Dictionary< string, long > > | GetCurrencies (string[] currencyIds) |
Promise< Dictionary< CurrencyRef, long > > | GetCurrencies (CurrencyRef[] currencyRefs) |
Promise< long > | GetCurrency (string currencyId) |
Promise< long > | GetCurrency (CurrencyRef currency) |
Promise< Unit > | AddItem (ItemRef itemRef, Dictionary< string, string > properties=null, string transaction=null) |
Promise< Unit > | AddItem (string contentId, Dictionary< string, string > properties=null, string transaction=null) |
Promise< Unit > | DeleteItem (string contentId, long itemId, string transaction=null) |
Promise< Unit > | UpdateItem (ItemRef itemRef, long itemId, Dictionary< string, string > properties, string transaction=null) |
Promise< Unit > | UpdateItem (string contentId, long itemId, Dictionary< string, string > properties, string transaction=null) |
Promise< Unit > | Update (Action< InventoryUpdateBuilder > action, string transaction=null) |
Promise< Unit > | Update (InventoryUpdateBuilder builder, string transaction=null) |
Promise< List< InventoryObject< TContent > > > | GetItems< TContent > () |
Promise< List< InventoryObject< TContent > > > | GetItems< TContent > (params ItemRef< TContent >[] itemReferences) |
Public Member Functions inherited from Beamable.Common.Api.ISupportsGet< InventoryView > | |
Promise< TData > | GetCurrent (string scope="") |
Promise<GetMultipliersResponse> Beamable.Common.Api.Inventory.IInventoryApi.GetMultipliers | ( | ) |
Provides the VIP Bonus multipliers that are applicable for this player according to their tier.
Implemented in Beamable.Common.Api.Inventory.AbsInventoryApi.
Promise<PreviewCurrencyGainResponse> Beamable.Common.Api.Inventory.IInventoryApi.PreviewCurrencyGain | ( | Dictionary< string, long > | currencyIdsToAmount | ) |
Players may sometimes receive additional currency as a result of qualifying for a VIP Tier This API previews what that amount of currency would be ahead of an update.
currencyIdsToAmount |
Implemented in Beamable.Common.Api.Inventory.AbsInventoryApi.