LeviLamina
Loading...
Searching...
No Matches
PlayerMessagingToastSubController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
8#include "mc/client/social/IToastEventListener.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10
11// auto generated forward declare list
12// clang-format off
15class ToastManager;
16class ToastMessage;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 8, ::ToastManager&> mToastManager;
24 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ToastAnnouncementSurface>> mToastSurface;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 PlayerMessagingToastSubController& operator=(PlayerMessagingToastSubController const&);
30 PlayerMessagingToastSubController(PlayerMessagingToastSubController const&);
31 PlayerMessagingToastSubController();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~PlayerMessagingToastSubController() /*override*/ = default;
37
38 virtual ::ui::DirtyFlag tick() /*override*/;
39
40 virtual void
41 handleToastEvent(::IToastEventListener::ToastEventType const eventType, ::ToastMessage const msg) /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI PlayerMessagingToastSubController(
48 ::std::shared_ptr<::MinecraftScreenModel> minecraftScreenModel,
49 ::Bedrock::NonOwnerPointer<::ToastAnnouncementSurface> toastSurface,
50 ::ToastManager& toastManager
51 );
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(
58 ::std::shared_ptr<::MinecraftScreenModel> minecraftScreenModel,
59 ::Bedrock::NonOwnerPointer<::ToastAnnouncementSurface> toastSurface,
60 ::ToastManager& toastManager
61 );
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI ::ui::DirtyFlag $tick();
68
69 MCAPI void $handleToastEvent(::IToastEventListener::ToastEventType const eventType, ::ToastMessage const msg);
70 // NOLINTEND
71};
Definition IToastEventListener.h:5
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition PlayerMessagingToastSubController.h:5
Definition ToastAnnouncementSurface.h:5
Definition ToastManager.h:5
Definition ToastMessage.h:5