LeviLamina
Loading...
Searching...
No Matches
CommandBlockScreenController.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/IntellisenseHandler.h"
8#include "mc/client/gui/screens/controllers/BlockScreenController.h"
9#include "mc/deps/core/utility/pub_sub/Subscription.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
16class Player;
17struct ActorUniqueID;
19// clang-format on
20
22public:
23 // CommandBlockScreenController inner types define
24 enum class CommandBlockColorContext : int {
25 DropDown = 0,
26 Dialog = 1,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecartCommandBlockManager>> mCBManager;
33 ::ll::TypedStorage<8, 104, ::IntellisenseHandler> mIntellisense;
34 ::ll::TypedStorage<1, 1, bool> mOutputWasTracked;
35 ::ll::TypedStorage<1, 1, bool> mBlockTypeDropDownActive;
36 ::ll::TypedStorage<1, 1, bool> mConditionDropDownActive;
37 ::ll::TypedStorage<1, 1, bool> mRedstoneDropDownActive;
38 ::ll::TypedStorage<1, 1, bool> mIsInputMaximized;
39 ::ll::TypedStorage<1, 1, bool> mModified;
40 ::ll::TypedStorage<1, 1, bool> mUpdateIntellisense;
41 ::ll::TypedStorage<1, 1, bool> mTextBoxEditing;
42 ::ll::TypedStorage<1, 1, bool> mShouldUseFilteredMessage;
43 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mProfanityToggleSubscription;
44 // NOLINTEND
45
46public:
47 // prevent constructor by default
48 CommandBlockScreenController();
49
50public:
51 // virtual functions
52 // NOLINTBEGIN
53 virtual ~CommandBlockScreenController() /*override*/;
54
55 virtual void onOpen() /*override*/;
56
57 virtual ::ui::DirtyFlag tick() /*override*/;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCAPI CommandBlockScreenController(
64 ::std::shared_ptr<::ClientInstanceScreenModel> model,
65 ::Player& player,
66 ::BlockPos const& pos,
67 ::ActorUniqueID uniqueId
68 );
69
70 MCAPI ::std::string _getLastPerformedCommandBlockTypeModeString() const;
71
72 MCAPI int _getTextEditValueAsInt(::TextEditScreenEventData& textEditEvent) const;
73
74 MCAPI void _registerBindings();
75
76 MCAPI void _registerBlockTypeDropdown();
77
78 MCAPI void _registerConditionDropdown();
79
80 MCAPI void _registerEventHandlers();
81
82 MCAPI void _registerRedstoneDropdown();
83 // NOLINTEND
84
85public:
86 // constructor thunks
87 // NOLINTBEGIN
88 MCAPI void* $ctor(
89 ::std::shared_ptr<::ClientInstanceScreenModel> model,
90 ::Player& player,
91 ::BlockPos const& pos,
92 ::ActorUniqueID uniqueId
93 );
94 // NOLINTEND
95
96public:
97 // destructor thunk
98 // NOLINTBEGIN
99 MCAPI void $dtor();
100 // NOLINTEND
101
102public:
103 // virtual function thunks
104 // NOLINTBEGIN
105 MCAPI void $onOpen();
106
107 MCAPI ::ui::DirtyFlag $tick();
108 // NOLINTEND
109
110public:
111 // vftables
112 // NOLINTBEGIN
113 MCNAPI static void** $vftableForScreenController();
114
116 // NOLINTEND
117};
Definition BlockPos.h:19
Definition BlockScreenController.h:5
Definition ClientInstanceScreenModel.h:5
Definition CommandBlockScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition MinecartCommandBlockManager.h:5
Definition Player.h:129
Definition ActorUniqueID.h:5
Definition TextEditScreenEventData.h:5