C# Class Xsolla.GoodsAdapter

Inheritance: IBaseAdapter
Exibir arquivo Open project: xsolla/xsolla-unity-sdk Class Usage Examples

Public Properties

Property Type Description
OnBuy bool>.Action
OnFavorite Action

Public Methods

Method Description
GetCount ( ) : int
GetElementType ( int id ) : int
GetNext ( ) : GameObject
GetPrefab ( ) : GameObject
GetView ( int position ) : GameObject
SetManager ( XsollaGoodsManager pricepoints, string buyBtnText ) : void
Start ( ) : void
ToString ( ) : string

Private Methods

Method Description
OnClickBuy ( string sku ) : void
OnClickBuy ( string sku, bool isVirtualPayment ) : void
OnClickFavorite ( bool isFavorite, string sku, long virtualItemId ) : void

Method Details

GetCount() public method

public GetCount ( ) : int
return int

GetElementType() public method

public GetElementType ( int id ) : int
id int
return int

GetNext() public method

public GetNext ( ) : GameObject
return GameObject

GetPrefab() public method

public GetPrefab ( ) : GameObject
return GameObject

GetView() public method

public GetView ( int position ) : GameObject
position int
return GameObject

SetManager() public method

public SetManager ( XsollaGoodsManager pricepoints, string buyBtnText ) : void
pricepoints XsollaGoodsManager
buyBtnText string
return void

Start() public method

public Start ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

OnBuy public_oe property

public Action OnBuy
return bool>.Action

OnFavorite public_oe property

public Action OnFavorite
return Action