3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/GameEventNotification.h"
8#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
9#include "mc/client/social/IToastListener.h"
10#include "mc/client/social/ToastMessage.h"
11#include "mc/deps/core/utility/NonOwnerPointer.h"
16class IStoreCatalogItem;
25namespace Json {
class Value; }
33 ::ll::TypedStorage<1, 1, bool> mVerifiedCreateCallback;
34 ::ll::TypedStorage<1, 1, bool> mSplitscreenJoinPopupActive;
35 ::ll::TypedStorage<1, 1, bool> mMatchmakingTouchExpanded;
36 ::ll::TypedStorage<4, 4, int> mMatchmakingElapsedSeconds;
37 ::ll::TypedStorage<4, 4, float> mPopupVerticalAnchor;
38 ::ll::TypedStorage<4, 4, ::ui::DirtyFlag> mDirty;
39 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::PerfTurtleScreenController>> mPerfTurtleScreenController;
40 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PartySystemSubController>> mPartySystemController;
41 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PlayerMessagingToastSubController>>
42 mPlayerMessagingToastSubController;
43 ::ll::TypedStorage<8, 8, ::PersonaRepository&> mPersonaRepository;
44 ::ll::TypedStorage<8, 8, ::IOptionRegistry&> mOptions;
45 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ToastManager>> mToastManager;
46 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::MatchmakingQueueState>> mMatchmakingQueueState;
47 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::MatchmakingRequestSender>> mMatchmakingRequestSender;
48 ::ll::TypedStorage<8, 384, ::std::optional<::ToastMessage>> mToastMessage;
53 ToastScreenController& operator=(ToastScreenController
const&);
54 ToastScreenController(ToastScreenController
const&);
55 ToastScreenController();
60 virtual ~ToastScreenController() =
default;
62 virtual ::ui::DirtyFlag tick() ;
64 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
66 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification notification) ;
68 virtual void showToast(::ToastMessage message,
bool animateIn) ;
70 virtual void removeToast() ;
72 virtual void refreshToast() ;
79 ::std::shared_ptr<::MinecraftScreenModel> model,
83 ::Bedrock::NotNullNonOwnerPtr<::MatchmakingQueueState>
const& matchmakingQueueState,
84 ::Bedrock::NotNullNonOwnerPtr<::MatchmakingRequestSender>
const& matchmakingRequestSender,
90 MCNAPI ::std::string
readToastData(::std::string
const& field_name)
const;
97 ::std::shared_ptr<::MinecraftScreenModel> model,
101 ::Bedrock::NotNullNonOwnerPtr<::MatchmakingQueueState>
const& matchmakingQueueState,
102 ::Bedrock::NotNullNonOwnerPtr<::MatchmakingRequestSender>
const& matchmakingRequestSender,
Definition NonOwnerPointer.h:9
Definition IOptionRegistry.h:5
Definition IToastListener.h:5
Definition MatchmakingQueueState.h:5
Definition MatchmakingRequestSender.h:5
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition PartySystem.h:7
Definition PartySystemSubController.h:5
Definition PerfTurtleScreenController.h:5
Definition PersonaRepository.h:5
Definition PlayerMessagingToastSubController.h:5
Definition ToastManager.h:5
Definition ToastMessage.h:5
Definition ToastScreenController.h:5
MCAPI void $showToast(::ToastMessage message, bool animateIn)
MCAPI::std::string readToastData(::std::string const &field_name) const
MCAPI::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification)
MCAPI void $refreshToast()
MCAPI void $addStaticScreenVars(::Json::Value &globalVars)
MCAPI void * $ctor(::std::shared_ptr<::MinecraftScreenModel > model, ::PersonaRepository &personaRepository, ::IOptionRegistry &Options, ::ToastManager &toastManager, ::Bedrock::NotNullNonOwnerPtr<::MatchmakingQueueState > const &matchmakingQueueState, ::Bedrock::NotNullNonOwnerPtr<::MatchmakingRequestSender > const &matchmakingRequestSender, ::Bedrock::NonOwnerPointer<::Parties::PartySystem > partySystem)
MCAPI void $removeToast()
MCAPI::ui::DirtyFlag $tick()
MCAPI ToastScreenController(::std::shared_ptr<::MinecraftScreenModel > model, ::PersonaRepository &personaRepository, ::IOptionRegistry &Options, ::ToastManager &toastManager, ::Bedrock::NotNullNonOwnerPtr<::MatchmakingQueueState > const &matchmakingQueueState, ::Bedrock::NotNullNonOwnerPtr<::MatchmakingRequestSender > const &matchmakingRequestSender, ::Bedrock::NonOwnerPointer<::Parties::PartySystem > partySystem)
MCAPI::IStoreCatalogItem const * _getAchievementPersonaPiece()