3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/GameEventNotification.h"
8#include "mc/client/gui/SceneType.h"
9#include "mc/client/gui/screens/controllers/ClientInstanceScreenController.h"
10#include "mc/client/social/ProfileImageOptions.h"
11#include "mc/deps/core/utility/pub_sub/Subscription.h"
12#include "mc/legacy/ActorUniqueID.h"
22namespace Json {
class Value; }
23namespace mce {
class UUID; }
30 ::ll::TypedStorage<8, 24, ::std::vector<::ActorUniqueID>> mClientIds;
31 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::SocialButtonScreenController>> mSocialButtonScreenController;
32 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mCurrentClientId;
33 ::ll::TypedStorage<1, 1, bool> mPlayerListInitialized;
34 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UserDataScreenController>> mUserDataScreenController;
35 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::PermissionsScreenController>> mPermissionsScreenController;
36 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PauseScreenModel>> mPauseScreenModel;
37 ::ll::TypedStorage<8, 72, ::Social::ProfileImageOptions> mProfileImage;
38 ::ll::TypedStorage<1, 1, bool> mOldPauseStatus;
39 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnPlayerListEntryRemovedSub;
40 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mPauseOptionSubscription;
41 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mTrialModeUpdateSubscription;
42 ::ll::TypedStorage<1, 1, bool> mScoreboardShowing;
43 ::ll::TypedStorage<1, 1, bool> mErrorButtonHovered;
44 ::ll::TypedStorage<4, 4, int> mPreviousMaxPlayerCount;
45 ::ll::TypedStorage<4, 4, int> mFeedUnreadCount;
46 ::ll::TypedStorage<1, 1, bool> mRefreshScreen;
47 ::ll::TypedStorage<1, 1, bool> mIsTrialModeEnabled;
48 ::ll::TypedStorage<1, 1, bool> mOverlaySocialDrawerOnce;
49 ::ll::TypedStorage<1, 1, bool> mOldUnreadMessagesStatus;
54 PauseScreenController();
59 virtual ~PauseScreenController() =
default;
61 virtual void onOpen() ;
63 virtual void onTerminate() ;
65 virtual void onInit() ;
67 virtual void onEntered() ;
69 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
71 virtual void queueTitleNarration() ;
73 virtual ::ui::SceneType getSceneType() const ;
75 virtual ::ui::DirtyFlag tick() ;
77 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification notification) ;
79 virtual ::std::
string _getButtonADescription() ;
85 MCAPI PauseScreenController(::std::shared_ptr<::PauseScreenModel> model,
bool overlaySocialDrawerOnce);
87 MCAPI
bool _isInviteButtonEnabled() const;
89 MCAPI
bool _isInviteButtonVisible() const;
91 MCAPI
bool _isMultiplayerLocked() const;
93 MCAPI
bool _isProfileButtonAEnabled() const;
95 MCAPI
bool _isProfileButtonBEnabled() const;
97 MCAPI
void _navigateToPermissions(::ActorUniqueID const&
id);
99 MCAPI
void _onPlayerListEntryRemoved(
100 ::PlayerListEntry const&,
101 ::std::unordered_map<::mce::UUID, ::PlayerListEntry> const& list
104 MCAPI
void _pauseToggleOptionCallback(::Option const& pauseFeatureToggle);
106 MCAPI
void _populateClientIds();
108 MCAPI
bool _showRealmsButtons() const;
110 MCAPI
bool _useMovedInviteButton() const;
116 MCAPI
void* $ctor(::std::shared_ptr<::PauseScreenModel> model,
bool overlaySocialDrawerOnce);
122 MCAPI
void $onOpen();
124 MCAPI
void $onTerminate();
126 MCAPI
void $onInit();
128 MCAPI
void $onEntered();
130 MCAPI
void $addStaticScreenVars(::Json::Value& globalVars);
132 MCAPI
void $queueTitleNarration();
134 MCAPI ::ui::SceneType $getSceneType() const;
136 MCAPI ::ui::DirtyFlag $tick();
138 MCAPI ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
140 MCFOLD ::std::
string $_getButtonADescription();
Definition ClientInstanceScreenController.h:5
Definition PauseScreenController.h:5
Definition PauseScreenModel.h:5
Definition PermissionsScreenController.h:5
Definition PlayerListEntry.h:17
Definition UserDataScreenController.h:5