3#include "mc/_HeaderOutputPredefine.h"
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"
24 enum class CommandBlockColorContext :
int {
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;
48 CommandBlockScreenController();
53 virtual ~CommandBlockScreenController() ;
55 virtual void onOpen() ;
57 virtual ::ui::DirtyFlag tick() ;
63 MCAPI CommandBlockScreenController(
64 ::std::shared_ptr<::ClientInstanceScreenModel> model,
66 ::BlockPos
const& pos,
67 ::ActorUniqueID uniqueId
70 MCAPI ::std::string _getLastPerformedCommandBlockTypeModeString()
const;
72 MCAPI
int _getTextEditValueAsInt(::TextEditScreenEventData& textEditEvent)
const;
74 MCAPI
void _registerBindings();
76 MCAPI
void _registerBlockTypeDropdown();
78 MCAPI
void _registerConditionDropdown();
80 MCAPI
void _registerEventHandlers();
82 MCAPI
void _registerRedstoneDropdown();
89 ::std::shared_ptr<::ClientInstanceScreenModel> model,
91 ::BlockPos
const& pos,
92 ::ActorUniqueID uniqueId
105 MCAPI
void $onOpen();
107 MCAPI ::ui::DirtyFlag $tick();
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 ActorUniqueID.h:5
Definition TextEditScreenEventData.h:5