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"
20struct IStoreCatalogItem;
22namespace Json {
class Value; }
30 ::ll::TypedStorage<1, 1, bool> mVerifiedCreateCallback;
31 ::ll::TypedStorage<1, 1, bool> mSplitscreenJoinPopupActive;
32 ::ll::TypedStorage<4, 4, float> mPopupVerticalAnchor;
33 ::ll::TypedStorage<4, 4, ::ui::DirtyFlag> mDirty;
34 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::PerfTurtleScreenController>> mPerfTurtleScreenController;
35 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PartySystemSubController>> mPartySystemController;
36 ::ll::TypedStorage<8, 8, ::PersonaRepository&> mPersonaRepository;
37 ::ll::TypedStorage<8, 8, ::IOptions&> mOptions;
38 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ToastManager>> mToastManager;
39 ::ll::TypedStorage<8, 376, ::std::optional<::ToastMessage>> mToastMessage;
44 ToastScreenController& operator=(ToastScreenController
const&);
45 ToastScreenController(ToastScreenController
const&);
46 ToastScreenController();
51 virtual ~ToastScreenController() ;
53 virtual ::ui::DirtyFlag tick() ;
55 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
57 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification) ;
59 virtual void showToast(::ToastMessage message,
bool animateIn) ;
61 virtual void removeToast() ;
63 virtual void refreshToast() ;
69 MCAPI ToastScreenController(
70 ::std::shared_ptr<::MinecraftScreenModel> model,
71 ::PersonaRepository& personaRepository,
73 ::ToastManager& toastManager,
74 ::std::optional<::Bedrock::NotNullNonOwnerPtr<::Parties::PartySystem>> partySystem
77 MCAPI
void _destroySplitscreenJoinPopup();
79 MCAPI ::IStoreCatalogItem
const* _getAchievementPersonaPiece();
81 MCAPI
void _registerBindings();
83 MCAPI
void _spawnSplitscreenJoinPopup(::std::string
const& joinText);
85 MCAPI ::std::string readToastData(::std::string
const& field_name)
const;
92 ::std::shared_ptr<::MinecraftScreenModel> model,
93 ::PersonaRepository& personaRepository,
95 ::ToastManager& toastManager,
96 ::std::optional<::Bedrock::NotNullNonOwnerPtr<::Parties::PartySystem>> partySystem
109 MCAPI ::ui::DirtyFlag $tick();
111 MCAPI
void $addStaticScreenVars(::Json::Value& globalVars);
113 MCAPI
void $showToast(::ToastMessage message,
bool animateIn);
115 MCAPI
void $removeToast();
117 MCAPI
void $refreshToast();
Definition IToastListener.h:5
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition PartySystemSubController.h:5
Definition PerfTurtleScreenController.h:5
Definition ToastManager.h:5
Definition ToastScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftable()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition PartySystem.h:7
Definition PersonaRepository.h:5