Hierarchy (view full)

Constructors

Properties

#consumeTransactions: Record<string, Transaction<ConsumePlayerPurchaseOutput>> = {}
#productsList: Product[] = []
#productsMapID: Record<number, Product> = {}
#productsMapTag: Record<string, Product> = {}
#purchaseTransactions: Record<string, Transaction<PurchasePlayerPurchaseOutput>> = {}
#purchasedList: PlayerPurchase[] = []
#purchasedMap: Record<number, PlayerPurchase> = {}
#syncManager: SyncManager
_events: EventLite = ...
adapter: default

Accessors

Methods

  • Parameters

    • idOrTag: string | number

    Returns PlayerPurchaseInfo

  • Parameters

    • projectId: number
    • purchaseId: string
    • Optional payload: any
    • Optional playerId: number
    • Optional productId: number

    Returns Promise<void>

  • Parameters

    • input: Omit<ConsumePlayerPurchaseInput, "platformData" | "payload">

    Returns Promise<PurchasePlayerPurchaseResult>

  • Parameters

    • input: Omit<PurchasePlayerPurchaseInput, "platformData" | "payload">

    Returns Promise<PurchasePlayerPurchaseResult>

  • Parameters

    • input: Omit<PurchasePlayerPurchaseInput, "platformData" | "payload">

    Returns Promise<Transaction<PurchasePlayerPurchaseOutput> | PurchasePlayerPurchaseResult>

  • Parameters

    • input: Omit<PurchasePlayerPurchaseInput, "platformData" | "payload">

    Returns Promise<Transaction<PurchasePlayerPurchaseOutput> | PurchasePlayerPurchaseResult>