LeviLamina
Loading...
Searching...
No Matches
ManageFeedScreenController.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/ClubsBaseController.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace Clubs { struct FeedItem; }
13namespace Clubs { struct ReportedItem; }
14namespace Realms { struct World; }
15// clang-format on
16
18public:
19 // ManageFeedScreenController inner types define
20 enum class Reason : int {
21 Deleted = 0,
22 Ignored = 1,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<4, 4, int> mFeedPageIndex;
29 ::ll::TypedStorage<4, 4, int> mPreviousPageIndex;
30 ::ll::TypedStorage<8, 24, ::std::vector<::Clubs::ReportedItem>> mReportedFeed;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 ManageFeedScreenController();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~ManageFeedScreenController() /*override*/ = default;
41
42 virtual ::ui::DirtyFlag tick() /*override*/;
43
44 virtual void addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties) const
45 /*override*/;
46
47 virtual ::Clubs::FeedItem& _getFeedItem(int const i) /*override*/;
48
49 virtual int _getFeedSize() const /*override*/;
50
51 virtual void _updateFeed() /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI ManageFeedScreenController(::std::shared_ptr<::MainMenuScreenModel> model, ::Realms::World const& world);
58
59 MCAPI void _closeModalDialog();
60
61 MCAPI void
62 _ignoreReportedItem(::Clubs::ReportedItem const& reportedItem, ::ManageFeedScreenController::Reason const& reason);
63
64 MCAPI void _initializeReportFeed();
65
66 MCAPI void _registerBindings();
67
68 MCAPI void _registerEventHandlers();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(::std::shared_ptr<::MainMenuScreenModel> model, ::Realms::World const& world);
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCAPI ::ui::DirtyFlag $tick();
81
82 MCAPI void $addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties) const;
83
84 MCAPI ::Clubs::FeedItem& $_getFeedItem(int const i);
85
86 MCAPI int $_getFeedSize() const;
87
88 MCAPI void $_updateFeed();
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftableForScreenController();
95
97 // NOLINTEND
98};
Definition ClubsBaseController.h:5
Definition MainMenuScreenModel.h:5
Definition ManageFeedScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition FeedItem.h:7
Definition ReportedItem.h:7
Definition World.h:7