C# Class UnityEngine.Purchasing.Extension.AbstractStore

Extension point for purchasing plugins.

Inheritance: IStore
Afficher le fichier Open project: CarlosHBC/UnityDecompiled

Méthodes publiques

Méthode Description
FinishTransaction ( ProductDefinition product, string transactionId ) : void

Called when Unity IAP has finished processing a purchase.

Initialize ( IStoreCallback callback ) : void

Called when Unity IAP is initializing.

Purchase ( ProductDefinition product, string developerPayload ) : void

Called when a user wants to buy the specified Product.

RetrieveProducts ( ReadOnlyCollection products ) : void

Méthodes protégées

Méthode Description
AbstractStore ( ) : System

Method Details

AbstractStore() protected méthode

protected AbstractStore ( ) : System
Résultat System

FinishTransaction() public abstract méthode

Called when Unity IAP has finished processing a purchase.

public abstract FinishTransaction ( ProductDefinition product, string transactionId ) : void
product ProductDefinition The product that was purchased.
transactionId string The transaction ID for the purchase.
Résultat void

Initialize() public abstract méthode

Called when Unity IAP is initializing.

public abstract Initialize ( IStoreCallback callback ) : void
callback IStoreCallback Callback for stores to interact with Unity IAP.
Résultat void

Purchase() public abstract méthode

Called when a user wants to buy the specified Product.

public abstract Purchase ( ProductDefinition product, string developerPayload ) : void
product ProductDefinition The product to purchase.
developerPayload string Any additional developer-supplied data.
Résultat void

RetrieveProducts() public abstract méthode

public abstract RetrieveProducts ( ReadOnlyCollection products ) : void
products ReadOnlyCollection
Résultat void