Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RecentlyPlayedStore.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/world/RecentlyPlayedLoadError.h"
7#include "mc/deps/core/utility/pub_sub/Publisher.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Bedrock::PubSub::ThreadModel { struct SingleThreaded; }
12namespace World { class IRecentlyPlayedStorePersistence; }
13namespace World { struct RecentlyPlayedEntry; }
14// clang-format on
15
16namespace World {
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::World::IRecentlyPlayedStorePersistence>> mPersistence;
23 ::ll::TypedStorage<8, 8, uint64> mMaxEntryCount;
24 ::ll::TypedStorage<8, 24, ::std::vector<::World::RecentlyPlayedEntry>> mEntries;
25 ::ll::TypedStorage<8, 24, ::std::vector<::World::RecentlyPlayedLoadError>> mLoadErrors;
26 ::ll::TypedStorage<8, 48, ::Bedrock::PubSub::Publisher<void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>>
27 mUpdatedPublisher;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI ::gsl::span<::World::RecentlyPlayedEntry const> getEntries() const;
34 // NOLINTEND
35};
36
37} // namespace World
Definition IRecentlyPlayedStorePersistence.h:7
Definition RecentlyPlayedStore.h:7
MCAPI ::gsl::span<::World::RecentlyPlayedEntry const > getEntries() const
Definition RecentlyPlayedEntry.h:7