3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/world/RecentlyPlayedPendingTargetData.h"
7#include "mc/client/world/RecentlyPlayedReloadMode.h"
8#include "mc/client/world/RecentlyPlayedSessionTrackerError.h"
9#include "mc/client/world/RecentlyPlayedStore.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
11#include "mc/deps/core/utility/pub_sub/Subscription.h"
12#include "mc/world/events/ClientInstanceEventListener.h"
13#include "mc/world/events/EventResult.h"
24 public ::std::enable_shared_from_this<::World::RecentlyPlayedSessionTracker> {
28 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Social::IUserManager>> mUserManager;
29 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mSignInCallbackHandle;
30 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mSignOutCallbackHandle;
31 ::ll::TypedStorage<8, 112, ::World::RecentlyPlayedStore> mStore;
32 ::ll::TypedStorage<2, 4, ::std::optional<ushort>> mLastRecordedJoinAttemptId;
33 ::ll::TypedStorage<1, 1, bool> mProfileLoadFailed;
34 ::ll::TypedStorage<8, 568, ::std::optional<::World::RecentlyPlayedPendingTargetData>> mPreparedTarget;
35 ::ll::TypedStorage<2, 4, ::std::optional<ushort>> mPendingJoinAttemptId;
36 ::ll::TypedStorage<8, 568, ::std::optional<::World::RecentlyPlayedPendingTargetData>> mPendingTarget;
42 virtual ::EventResult onClientEnteredWorld(::ClientInstance& client) ;
48 MCNAPI
void initialize(::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager>
const& userManager);
52 MCNAPI ::nonstd::expected<uint64, ::World::RecentlyPlayedSessionTrackerError>
Definition ClientInstance.h:5
Definition IUserManager.h:7
Definition RecentlyPlayedSessionTracker.h:7
MCAPI void preparePendingTarget(::World::RecentlyPlayedPendingTargetData target)
MCAPI ::nonstd::expected< uint64, ::World::RecentlyPlayedSessionTrackerError > reloadForPrimaryUser(::World::RecentlyPlayedReloadMode reloadMode)
MCAPI::EventResult $onClientEnteredWorld(::ClientInstance &client)
MCAPI void initialize(::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager > const &userManager)
static MCAPI void ** $vftable()
Definition RecentlyPlayedPendingTargetData.h:7