LeviLamina
Loading...
Searching...
No Matches
RealmsWorldPackManagerContentSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/models/PackManagerContentSourceImpl.h"
7#include "mc/client/network/realms/RealmId.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9
10// auto generated forward declare list
11// clang-format off
13struct ContentItem;
15namespace Realms { struct Content; }
16// clang-format on
17
18namespace Realms {
19
20class RealmsWorldPackManagerContentSource : public ::PackManagerContentSourceImpl {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::Realms::RealmId const> mRealmId;
25 ::ll::TypedStorage<8, 24, ::std::vector<::Realms::Content> const> mServiceAppliedContent;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 RealmsWorldPackManagerContentSource();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual void load() /*override*/;
36
37 virtual void generateItems(::std::vector<::std::shared_ptr<::ContentItem>>& content) /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI RealmsWorldPackManagerContentSource(
44 ::PackManagerContentSourceArgs&& args,
45 ::Bedrock::NotNullNonOwnerPtr<::IContentSourceRepository> contentSourceRepository,
46 ::Realms::RealmId realmId,
47 ::std::vector<::Realms::Content>&& serviceContent
48 );
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(
55 ::PackManagerContentSourceArgs&& args,
56 ::Bedrock::NotNullNonOwnerPtr<::IContentSourceRepository> contentSourceRepository,
57 ::Realms::RealmId realmId,
58 ::std::vector<::Realms::Content>&& serviceContent
59 );
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI void $load();
66
67 MCAPI void $generateItems(::std::vector<::std::shared_ptr<::ContentItem>>& content);
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
76
77} // namespace Realms
Definition IContentSourceRepository.h:13
Definition RealmsWorldPackManagerContentSource.h:7
Definition ContentItem.h:5
Definition PackManagerContentSourceArgs.h:5
Definition Content.h:7