LeviLamina
Loading...
Searching...
No Matches
TransactionHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/store/iap/PurchasePath.h"
7#include "mc/client/store/iap/PurchaseResult.h"
8
9// auto generated forward declare list
10// clang-format off
11class Offer;
13struct Purchase;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 TransactionHandler& operator=(TransactionHandler const&);
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ~TransactionHandler() = default;
36
37 // vIndex: 1
38 virtual void transactPurchase(::Offer&, ::TransactionContext&, ::PurchasePath);
39
40 // vIndex: 2
41 virtual bool tryParseTransactionPayload(::std::shared_ptr<::Purchase>&, ::std::string&) const;
42
43 // vIndex: 3
44 virtual void onPurchaseComplete(::Offer&, ::std::string const&, ::PurchasePath, ::PurchaseResult);
45
46 // vIndex: 4
47 virtual bool _transactFulfillment(::Offer&, ::std::shared_ptr<::Purchase>, ::PurchasePath) = 0;
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53
54 // NOLINTEND
55};
Definition Offer.h:5
Definition TransactionContext.h:5
Definition TransactionHandler.h:16
Definition Purchase.h:5
Definition Alias.h:14