LeviLamina
Loading...
Searching...
No Matches
ContentCatalogPackSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/resources/IContentCatalogPackSource.h"
7#include "mc/deps/core/resource/PackType.h"
8#include "mc/deps/core/threading/Async.h"
9#include "mc/deps/core/threading/SharedAsync.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
11
12// auto generated forward declare list
13// clang-format off
15class IEntitlementManager;
17class TaskGroup;
20namespace ContentManagerUtils { class ISourcesAsyncReloader; }
21// clang-format on
22
24 public ::std::enable_shared_from_this<::ContentCatalogPackSource> {
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager>> mEntitlementManager;
29 ::ll::TypedStorage<1, 1, bool> mEnabled;
30 ::ll::TypedStorage<1, 1, ::PackType const> mPackType;
31 ::ll::TypedStorage<1, 1, bool const> mHighPriorityIconRequests;
32 ::ll::TypedStorage<8, 16, ::Bedrock::Threading::SharedAsync<void>> mActiveFetch;
33 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mTaskGroup;
34 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IContentCatalogPackSourceService>> mCatalogService;
35 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ContentManagerUtils::ISourcesAsyncReloader>> mWeakSourcesAsyncReloader;
36 // NOLINTEND
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~ContentCatalogPackSource() /*override*/ = default;
42
43 virtual void setEnabled(bool enabled) /*override*/;
44
45 virtual ::PackSourceLoadResult _loadImpl(::PackSourceLoadOptions&&) /*override*/;
46
47 virtual ::PackType getPackType() const /*override*/;
48
49 virtual void refreshCatalogItems(::IPackManifestFactory&) /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI ::Bedrock::Threading::Async<void> _load();
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI void $setEnabled(bool enabled);
62
63 MCAPI ::PackSourceLoadResult $_loadImpl(::PackSourceLoadOptions&&);
64
65 MCAPI ::PackType $getPackType() const;
66
67 MCAPI void $refreshCatalogItems(::IPackManifestFactory&);
68 // NOLINTEND
69};
Definition ContentCatalogPackSource.h:5
Definition ISourcesAsyncReloader.h:7
Definition IContentCatalogPackSourceService.h:5
Definition IContentCatalogPackSource.h:5
Definition IPackManifestFactory.h:17
Definition TaskGroup.h:86
Definition PackSourceLoadOptions.h:5
Definition PackSourceLoadResult.h:5