Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ReadOnlyContentItemCollection.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/models/ContentItemCollectionVersion.h"
7#include "mc/client/gui/screens/models/IVersionedContentItemCollection.h"
8#include "mc/platform/brstd/move_only_function.h"
9
10// auto generated forward declare list
11// clang-format off
12struct ContentItem;
13// clang-format on
14
16public:
17 // ReadOnlyContentItemCollection inner types define
18 using ForEach = ::brstd::move_only_function<bool(::gsl::not_null<::std::shared_ptr<::ContentItem const>> const&)>;
19
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, ::ContentItemCollectionVersion> mVersion;
24 ::ll::TypedStorage<8, 24, ::std::vector<::gsl::not_null<::std::shared_ptr<::ContentItem const>>>> mItems;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual void appendLatest(
31 ::ContentItemCollectionVersion& version,
32 ::std::vector<::gsl::not_null<::std::shared_ptr<::ContentItem const>>>& output
33 ) const /*override*/;
34
35 virtual ::ContentItemCollectionVersion getVersion() const /*override*/;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41 MCNAPI void $appendLatest(
43 ::std::vector<::gsl::not_null<::std::shared_ptr<::ContentItem const>>>& output
44 ) const;
45
47 // NOLINTEND
48};
Definition ContentItemCollectionVersion.h:5
Definition IVersionedContentItemCollection.h:5
Definition ReadOnlyContentItemCollection.h:5
MCAPI void $appendLatest(::ContentItemCollectionVersion &version, ::std::vector<::gsl::not_null<::std::shared_ptr<::ContentItem const > > > &output) const
MCAPI::ContentItemCollectionVersion $getVersion() const
STL namespace.
Definition ContentItem.h:5