Property | Type | Description | |
---|---|---|---|
Inventory | |||
Wallet |
Method | Description | |
---|---|---|
BuyBundle ( int bundleId, string reason ) : void |
Helper method that consumes the bundle given a bundleId and a reason
|
|
ConsumeBundle ( int bundleId, string reason ) : void |
Helper method that consumes the bundle given a bundleId and a reason
|
|
GetCurrencyBalance ( int currencyId ) : int |
Helper method that returns the Currency Balance given a currencyId Returns -1 if no currency was found
|
|
GetItemAmount ( int itemId ) : int |
Helper method that returns the Item Amount given a itemId Returns -1 if no item was found
|
|
InventoryHasItem ( int itemId ) : System.Boolean |
Helper method that returns true if an item is in the inventory
|
|
PlayerDataHelper ( SpilUnityImplementationBase Instance ) : System | ||
PlayerDataUpdatedHandler ( ) : void |
Method | Description | |
---|---|---|
AddDataToHelper ( List |
||
UpdatePlayerData ( ) : void |
public BuyBundle ( int bundleId, string reason ) : void | ||
bundleId | int | |
reason | string | |
return | void |
public ConsumeBundle ( int bundleId, string reason ) : void | ||
bundleId | int | |
reason | string | |
return | void |
public GetCurrencyBalance ( int currencyId ) : int | ||
currencyId | int | |
return | int |
public InventoryHasItem ( int itemId ) : System.Boolean | ||
itemId | int | |
return | System.Boolean |
public PlayerDataHelper ( SpilUnityImplementationBase Instance ) : System | ||
Instance | SpilUnityImplementationBase | |
return | System |