Skip to content
LeviMC
English
AutoLightDark
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
48 ::Bedrock::NotNullNonOwnerPtr<::IStoreCatalogRepository> storeCatalogRepository,
49 ::Bedrock::NotNullNonOwnerPtr<::DateManager> dateManager,
50 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
51 bool vibrantVisualsSupported,
52 ::ServicesManager& servicesManager,
53 ::MarketplaceServicesManager& marketplaceServicesManager
54 );
55
56 MCNAPI ::std::vector<::World::MarketplaceWorldTemplateData> const _getTemplates() const;
57
58 MCNAPI void _onOfferPurchased(::std::string const& productId);
59
60 MCNAPI void _prepareOffers();
61
62 MCNAPI void update(double);
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCNAPI void* $ctor(
69 ::Bedrock::NotNullNonOwnerPtr<::IStoreCatalogRepository> storeCatalogRepository,
70 ::Bedrock::NotNullNonOwnerPtr<::DateManager> dateManager,
71 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
72 bool vibrantVisualsSupported,
73 ::ServicesManager& servicesManager,
74 ::MarketplaceServicesManager& marketplaceServicesManager
75 );
76 // NOLINTEND
77};
78
79} // namespace World
Definition DateManager.h:14
Definition IMarketplaceContentOffersProvider.h:5
Definition FeaturedWorldTemplateManager.h:7
MCAPI void _onOfferPurchased(::std::string const &productId)
MCAPI FeaturedWorldTemplateManager(::Bedrock::NotNullNonOwnerPtr<::IStoreCatalogRepository > storeCatalogRepository, ::Bedrock::NotNullNonOwnerPtr<::DateManager > dateManager, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager, bool vibrantVisualsSupported, ::ServicesManager &servicesManager, ::MarketplaceServicesManager &marketplaceServicesManager)
MCAPI ::std::vector<::World::MarketplaceWorldTemplateData > const _getTemplates() const
MCAPI void * $ctor(::Bedrock::NotNullNonOwnerPtr<::IStoreCatalogRepository > storeCatalogRepository, ::Bedrock::NotNullNonOwnerPtr<::DateManager > dateManager, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager, bool vibrantVisualsSupported, ::ServicesManager &servicesManager, ::MarketplaceServicesManager &marketplaceServicesManager)
Definition MarketplaceWorldTemplateData.h:7