C# Class Applicasa.IAP

Show file Open project: Applicasa/Sample-App-Unity

Public Methods

Method Description
BuyVirtualCurrency ( VirtualCurrency virtualCurrency, System.Action action ) : void
BuyVirtualGood ( VirtualGood virtualGood, int quantity, Currency currencyKind, System.Action action ) : void
BuyWithRealMoney ( VirtualGood virtualGood, System.Action action ) : void
GetCurrentUserMainBalance ( ) : int
GetCurrentUserSecondaryBalance ( ) : int
GetVirtualCurrencies ( VirtualCurrency callback ) : void
GetVirtualGoodCategories ( VirtualGoodCategory callback ) : void
GetVirtualGoods ( VirtualGoodType type, VirtualGood callback ) : void
GetVirtualGoods ( VirtualGoodType type, VirtualGoodCategory virtualGoodCategory, VirtualGood callback ) : void
GetVirtualGoodsByCategoryPosition ( VirtualGoodType type, int position, VirtualGood callback ) : void
GiveCurrency ( int amount, Currency currencyKind, System.Action action ) : void
GiveVirtualGood ( VirtualGood virtualGood, int quantity, System.Action action ) : void
RefreshStore ( Applicasa _callbackInitializeIAP ) : IEnumerator
RevalidateVirtualCurrency ( Applicasa _callbackInitializeIAP ) : IEnumerator
UseCurrency ( int amount, Currency currencyKind, System.Action action ) : void
UseVirtualGood ( VirtualGood virtualGood, int quantity, System.Action action ) : void

Private Methods

Method Description
ApplicasaIAPBuyVirtualCurrency ( System virtualCurrency, System.Action action ) : string
ApplicasaIAPBuyVirtualGood ( System virtualGood, int quantity, Currency currencyKind, System.Action action ) : string
ApplicasaIAPBuyWithRealMoney ( System virtualGood, System.Action action ) : void
ApplicasaIAPGetCurrentUserMainBalance ( ) : int
ApplicasaIAPGetCurrentUserSecondaryBalance ( ) : int
ApplicasaIAPGetVirtualCurrenciesWithBlock ( VirtualCurrency callback ) : void
ApplicasaIAPGetVirtualGoodCategoriesWithBlock ( VirtualGoodCategory callback ) : void
ApplicasaIAPGetVirtualGoodsByCategoryPosition ( VirtualGoodType type, int position, VirtualGood callback ) : void
ApplicasaIAPGetVirtualGoodsOfType ( VirtualGoodType type, VirtualGood callback ) : void
ApplicasaIAPGetVirtualGoodsOfTypeAndCategory ( VirtualGoodType type, IntPtr virtualGoodCategory, VirtualGood callback ) : void
ApplicasaIAPGiveAmount ( int amount, Currency currencyKind, System.Action callback ) : void
ApplicasaIAPGiveVirtualGood ( System virtualGood, int quantity, System.Action callback ) : void
ApplicasaIAPUseAmount ( int amount, Currency currencyKind, System.Action callback ) : void
ApplicasaIAPUseVirtualGood ( System virtualGood, int quantity, System.Action callback ) : void
ApplicasaRefreshStore ( ) : void
ApplicasaRevalidateVirtualCurrency ( ) : void

Method Details

BuyVirtualCurrency() public static method

public static BuyVirtualCurrency ( VirtualCurrency virtualCurrency, System.Action action ) : void
virtualCurrency VirtualCurrency
action System.Action
return void

BuyVirtualGood() public static method

public static BuyVirtualGood ( VirtualGood virtualGood, int quantity, Currency currencyKind, System.Action action ) : void
virtualGood VirtualGood
quantity int
currencyKind System.Currency
action System.Action
return void

BuyWithRealMoney() public static method

public static BuyWithRealMoney ( VirtualGood virtualGood, System.Action action ) : void
virtualGood VirtualGood
action System.Action
return void

GetCurrentUserMainBalance() public static method

public static GetCurrentUserMainBalance ( ) : int
return int

GetCurrentUserSecondaryBalance() public static method

public static GetCurrentUserSecondaryBalance ( ) : int
return int

GetVirtualCurrencies() public static method

public static GetVirtualCurrencies ( VirtualCurrency callback ) : void
callback VirtualCurrency
return void

GetVirtualGoodCategories() public static method

public static GetVirtualGoodCategories ( VirtualGoodCategory callback ) : void
callback VirtualGoodCategory
return void

GetVirtualGoods() public static method

public static GetVirtualGoods ( VirtualGoodType type, VirtualGood callback ) : void
type VirtualGoodType
callback VirtualGood
return void

GetVirtualGoods() public static method

public static GetVirtualGoods ( VirtualGoodType type, VirtualGoodCategory virtualGoodCategory, VirtualGood callback ) : void
type VirtualGoodType
virtualGoodCategory VirtualGoodCategory
callback VirtualGood
return void

GetVirtualGoodsByCategoryPosition() public static method

public static GetVirtualGoodsByCategoryPosition ( VirtualGoodType type, int position, VirtualGood callback ) : void
type VirtualGoodType
position int
callback VirtualGood
return void

GiveCurrency() public static method

public static GiveCurrency ( int amount, Currency currencyKind, System.Action action ) : void
amount int
currencyKind System.Currency
action System.Action
return void

GiveVirtualGood() public static method

public static GiveVirtualGood ( VirtualGood virtualGood, int quantity, System.Action action ) : void
virtualGood VirtualGood
quantity int
action System.Action
return void

RefreshStore() public static method

public static RefreshStore ( Applicasa _callbackInitializeIAP ) : IEnumerator
_callbackInitializeIAP Applicasa
return IEnumerator

RevalidateVirtualCurrency() public static method

public static RevalidateVirtualCurrency ( Applicasa _callbackInitializeIAP ) : IEnumerator
_callbackInitializeIAP Applicasa
return IEnumerator

UseCurrency() public static method

public static UseCurrency ( int amount, Currency currencyKind, System.Action action ) : void
amount int
currencyKind System.Currency
action System.Action
return void

UseVirtualGood() public static method

public static UseVirtualGood ( VirtualGood virtualGood, int quantity, System.Action action ) : void
virtualGood VirtualGood
quantity int
action System.Action
return void