LeviLamina
Loading...
Searching...
No Matches
ISuggestedContentOffersProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class StoreCatalogItem;
8// clang-format on
9
11public:
12 // ISuggestedContentOffersProvider inner types define
13 enum class CollectionType : int {
14 StoreItems = 0,
15 RealmsPlusItems = 1,
16 };
17
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual ~ISuggestedContentOffersProvider() = default;
22
23 virtual ::StoreCatalogItem const&
24 getOfferItem(::ISuggestedContentOffersProvider::CollectionType type, int index) const = 0;
25
26 virtual ::StoreCatalogItem& getOfferItem(::ISuggestedContentOffersProvider::CollectionType type, int index) = 0;
27
28 virtual uint64 getNumOfferItems(::ISuggestedContentOffersProvider::CollectionType type) const = 0;
29
30 virtual void setQueries(::std::string const& upsellQueryName, ::std::string const& realmsPlusQueryName) = 0;
31
32 virtual void clearQueries() = 0;
33
34 virtual bool tick() = 0;
35
36 virtual ::std::string getSeeMorePageId(::ISuggestedContentOffersProvider::CollectionType type) const = 0;
37
38 virtual ::std::optional<::std::string> getSuggestedOffersTitle() const = 0;
39
40 virtual bool areSuggestedOffersLoading() const = 0;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46
47 // NOLINTEND
48};
Definition ISuggestedContentOffersProvider.h:5