Property | Type | Description | |
---|---|---|---|
GoodItemId | string | ||
NextItemId | string | ||
PrevItemId | string |
Method | Description | |
---|---|---|
Give ( int amount, bool notify ) : int |
Assigns the current upgrade to the associated
|
|
Take ( int amount, bool notify ) : int |
Takes upgrade from the user, or in other words DOWNGRADES the associated
|
|
UpgradeVG ( JSONObject jsonItem ) : UnityEngine |
see parent.
|
|
UpgradeVG ( string goodItemId, string nextItemId, string prevItemId, string name, string description, string itemId, Soomla.Store.PurchaseType purchaseType ) : UnityEngine |
Constructor.
|
|
toJSONObject ( ) : JSONObject |
see parent.
|
Method | Description | |
---|---|---|
canBuy ( ) : bool |
Determines if the user is in a state that allows him/her to buy an
|
public Give ( int amount, bool notify ) : int | ||
amount | int | NOT USED HERE! |
notify | bool | notify of change in user's balance of current virtual item. |
return | int |
public Take ( int amount, bool notify ) : int | ||
amount | int | NOT USED HERE!. |
notify | bool | see parent. |
return | int |
public UpgradeVG ( JSONObject jsonItem ) : UnityEngine | ||
jsonItem | JSONObject | |
return | UnityEngine |
public UpgradeVG ( string goodItemId, string nextItemId, string prevItemId, string name, string description, string itemId, Soomla.Store.PurchaseType purchaseType ) : UnityEngine | ||
goodItemId | string | The itemId of the |
nextItemId | string | The itemId of the |
prevItemId | string | The itemId of the |
name | string | nName. |
description | string | Description. |
itemId | string | Item id. |
purchaseType | Soomla.Store.PurchaseType | Purchase type. |
return | UnityEngine |