LeviLamina
Loading...
Searching...
No Matches
FeaturedWorldTemplateManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/deps/core/utility/pub_sub/Subscription.h"
9
10// auto generated forward declare list
11// clang-format off
12class DateManager;
13class IEntitlementManager;
15class IStoreCatalogRepository;
16class MarketplaceServicesManager;
17class ServicesManager;
18namespace World { struct MarketplaceWorldTemplateData; }
19// clang-format on
20
21namespace World {
22
23class FeaturedWorldTemplateManager : public ::Bedrock::EnableNonOwnerReferences {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<1, 1, bool> mIsDirty;
28 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IStoreCatalogRepository>> mStoreCatalogRepository;
29 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::IMarketplaceContentOffersProvider>> mSuggestedContentOffersProvider;
30 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOfferPurchaseSuccessSubscription;
31 ::ll::TypedStorage<8, 24, ::std::vector<::World::MarketplaceWorldTemplateData>> mFeaturedWorldTemplateList;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 FeaturedWorldTemplateManager();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~FeaturedWorldTemplateManager() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI FeaturedWorldTemplateManager(
48 ::Bedrock::NotNullNonOwnerPtr<::IStoreCatalogRepository> storeCatalogRepository,
49 ::Bedrock::NotNullNonOwnerPtr<::DateManager> dateManager,
50 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
51 ::ServicesManager& servicesManager,
52 ::MarketplaceServicesManager& marketplaceServicesManager
53 );
54
55 MCAPI ::std::vector<::World::MarketplaceWorldTemplateData> const _getTemplates() const;
56
57 MCAPI void _onOfferPurchased(::std::string const& productId);
58
59 MCAPI void _prepareOffers();
60
61 MCAPI void update(double);
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(
68 ::Bedrock::NotNullNonOwnerPtr<::IStoreCatalogRepository> storeCatalogRepository,
69 ::Bedrock::NotNullNonOwnerPtr<::DateManager> dateManager,
70 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
71 ::ServicesManager& servicesManager,
72 ::MarketplaceServicesManager& marketplaceServicesManager
73 );
74 // NOLINTEND
75};
76
77} // namespace World
Definition DateManager.h:14
Definition IMarketplaceContentOffersProvider.h:5
Definition FeaturedWorldTemplateManager.h:7
Definition MarketplaceWorldTemplateData.h:7