LeviLamina
Loading...
Searching...
No Matches
PackContentItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/models/ManifestContentItem.h"
7#include "mc/client/gui/screens/models/PackListType.h"
8#include "mc/client/gui/screens/models/PackReportState.h"
9#include "mc/deps/core/file/PathBuffer.h"
10#include "mc/resources/PackReport.h"
11#include "mc/resources/SubpackInfoCollection.h"
12
13// auto generated forward declare list
14// clang-format off
16struct ContentSource;
18// clang-format on
19
21public:
22 // PackContentItem inner types declare
23 // clang-format off
24 struct PositionSort;
25 // clang-format on
26
27 // PackContentItem inner types define
28 struct PositionSort {
29 public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI bool operator()(
33 ::std::shared_ptr<::PackContentItem const> const& lhs,
34 ::std::shared_ptr<::PackContentItem const> const& rhs
35 ) const;
36 // NOLINTEND
37 };
38
39public:
40 // member variables
41 // NOLINTBEGIN
42 ::ll::TypedStorage<8, 248, ::PackReport> mPackReport;
43 ::ll::TypedStorage<8, 248, ::PackReport> mLoadingReport;
44 ::ll::TypedStorage<8, 32, ::std::string> mDateAvailable;
45 ::ll::TypedStorage<1, 1, ::PackReportState> mReportState;
46 ::ll::TypedStorage<8, 24, ::SubpackInfoCollection> mSubpackInfo;
47 ::ll::TypedStorage<8, 8, ::PackSettingsFactory*> mPackSettingsFactory;
48 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mWorldId;
49 ::ll::TypedStorage<8, 40, ::std::optional<::Core::PathBuffer<::std::string>>> mWorldPath;
50 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::PackContentItemListPosition>>> mListPosition;
51 ::ll::TypedStorage<8, 24, ::std::vector<::std::weak_ptr<::PackContentItem const>>> mDependencies;
52 ::ll::TypedStorage<8, 24, ::std::vector<::std::weak_ptr<::PackContentItem const>>> mDependentContent;
53 // NOLINTEND
54
55public:
56 // prevent constructor by default
57 PackContentItem();
58
59public:
60 // virtual functions
61 // NOLINTBEGIN
62 virtual ~PackContentItem() /*override*/;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI explicit PackContentItem(::ContentSource* src);
69
70 MCAPI ::std::vector<::std::shared_ptr<::PackContentItem const>> getDependentContent() const;
71
72 MCAPI ::PackListType getListType() const;
73
74 MCAPI uint64 getPosition() const;
75
76 MCAPI int getSubpackIndex() const;
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCAPI void* $ctor(::ContentSource* src);
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCAPI void $dtor();
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
Definition PackSettingsFactory.h:24
Definition ContentSource.h:5
Definition ManifestContentItem.h:5
Definition PackContentItemListPosition.h:5
Definition PackContentItem.h:13
Definition PackContentItem.h:5
static MCAPI void ** $vftable()