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;
23namespace Json {
class Value; }
31 ::ll::TypedStorage<1, 1, bool> mVerifiedCreateCallback;
32 ::ll::TypedStorage<1, 1, bool> mSplitscreenJoinPopupActive;
33 ::ll::TypedStorage<4, 4, float> mPopupVerticalAnchor;
34 ::ll::TypedStorage<4, 4, ::ui::DirtyFlag> mDirty;
35 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::PerfTurtleScreenController>> mPerfTurtleScreenController;
36 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PartySystemSubController>> mPartySystemController;
37 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PlayerMessagingToastSubController>>
38 mPlayerMessagingToastSubController;
39 ::ll::TypedStorage<8, 8, ::PersonaRepository&> mPersonaRepository;
40 ::ll::TypedStorage<8, 8, ::IOptionRegistry&> mOptions;
41 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ToastManager>> mToastManager;
42 ::ll::TypedStorage<8, 376, ::std::optional<::ToastMessage>> mToastMessage;
47 ToastScreenController& operator=(ToastScreenController
const&);
48 ToastScreenController(ToastScreenController
const&);
49 ToastScreenController();
54 virtual ~ToastScreenController() =
default;
56 virtual ::ui::DirtyFlag tick() ;
58 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
60 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification notification) ;
62 virtual void showToast(::ToastMessage message,
bool animateIn) ;
64 virtual void removeToast() ;
66 virtual void refreshToast() ;
72 MCAPI ToastScreenController(
73 ::std::shared_ptr<::MinecraftScreenModel> model,
74 ::PersonaRepository& personaRepository,
75 ::IOptionRegistry& Options,
76 ::ToastManager& toastManager,
77 ::Bedrock::NonOwnerPointer<::Parties::PartySystem> partySystem
80 MCAPI ::IStoreCatalogItem
const* _getAchievementPersonaPiece();
82 MCAPI ::std::string readToastData(::std::string
const& field_name)
const;
89 ::std::shared_ptr<::MinecraftScreenModel> model,
90 ::PersonaRepository& personaRepository,
91 ::IOptionRegistry& Options,
92 ::ToastManager& toastManager,
93 ::Bedrock::NonOwnerPointer<::Parties::PartySystem> partySystem
100 MCAPI ::ui::DirtyFlag $tick();
102 MCAPI
void $addStaticScreenVars(::Json::Value& globalVars);
104 MCFOLD ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
106 MCAPI
void $showToast(::ToastMessage message,
bool animateIn);
108 MCAPI
void $removeToast();
110 MCAPI
void $refreshToast();
Definition IOptionRegistry.h:5
Definition IToastListener.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 ToastScreenController.h:5