LeviLamina
Loading...
Searching...
No Matches
RealmsSlotsScreenController.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/ViewRequest.h"
8#include "mc/client/gui/screens/controllers/RealmsSettingsScreenController.h"
9
10// auto generated forward declare list
11// clang-format off
14namespace Realms { struct World; }
15namespace Social { struct PermissionCheckResult; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::std::string> mCurrentSlotImage;
23 ::ll::TypedStorage<8, 32, ::std::string> mCurrentSlotImagePath;
24 ::ll::TypedStorage<4, 4, int> mFeedUnreadCount;
25 ::ll::TypedStorage<1, 1, bool> mPlatformRestrictsMultiplayer;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlatformMultiplayerRestrictions>> mPlatformMultiplayerRestrictions;
27 ::ll::TypedStorage<1, 1, bool> mRealmsSlotsScreenNeedsRefresh;
28 ::ll::TypedStorage<1, 1, bool> mRealmsSlotsScreenNeedsRefreshOnScreenOpen;
29 ::ll::TypedStorage<1, 3, ::std::array<bool, 3>> mSlotViewToggle;
30 ::ll::TypedStorage<1, 1, bool> mChangingSlot;
31 ::ll::TypedStorage<8, 32, ::std::string> mSelectedWorldFocusButton;
32 ::ll::TypedStorage<4, 4, int> mSelectedWorldFocusButtonDelayTicks;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 RealmsSlotsScreenController();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~RealmsSlotsScreenController() /*override*/;
43
44 virtual void onOpen() /*override*/;
45
46 virtual void onCreation() /*override*/;
47
48 virtual ::ui::DirtyFlag tick() /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI RealmsSlotsScreenController(::std::shared_ptr<::MainMenuScreenModel> model, ::Realms::World& world);
55
56 MCAPI ::ui::ViewRequest _editRealm();
57
58 MCAPI void _getUnreadCount();
59
60 MCAPI bool _isRealmExpiringForPlatform();
61
62 MCAPI ::Social::PermissionCheckResult _parentalControlsDialogCheck();
63
64 MCAPI void _refreshSlotsInfo();
65
66 MCAPI void _registerBindings();
67
68 MCAPI void _registerEventHandlers();
69
70 MCAPI void _setActiveSlot(int slotIndex, ::std::function<void()> callback, bool refreshScreen);
71
72 MCAPI ::ui::ViewRequest _startRealm();
73
74 MCAPI bool _userGeneratedContentRestrictionsDialogCheck() const;
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCAPI void* $ctor(::std::shared_ptr<::MainMenuScreenModel> model, ::Realms::World& world);
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCAPI void $dtor();
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCAPI void $onOpen();
93
94 MCAPI void $onCreation();
95
96 MCAPI ::ui::DirtyFlag $tick();
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCNAPI static void** $vftableForScreenController();
103
105 // NOLINTEND
106};
Definition MainMenuScreenModel.h:5
Definition PlatformMultiplayerRestrictions.h:5
Definition RealmsSettingsScreenController.h:5
Definition RealmsSlotsScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition World.h:7
Definition PermissionCheckResult.h:7