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 _getLastPerformedCommandBlockConditionalModeString()
const;
72 MCAPI ::std::string _getLastPerformedCommandBlockRedstoneModeString()
const;
74 MCAPI ::std::string _getLastPerformedCommandBlockTypeModeString()
const;
76 MCAPI ::std::string _getOutputText()
const;
78 MCAPI
int _getTextEditValueAsInt(::TextEditScreenEventData& textEditEvent)
const;
80 MCAPI
void _registerBindings();
82 MCAPI
void _registerBlockTypeDropdown();
84 MCAPI
void _registerConditionDropdown();
86 MCAPI
void _registerEventHandlers();
88 MCAPI
void _registerRedstoneDropdown();
95 ::std::shared_ptr<::ClientInstanceScreenModel> model,
97 ::BlockPos
const& pos,
98 ::ActorUniqueID uniqueId
111 MCAPI
void $onOpen();
113 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:10
Definition TextEditScreenEventData.h:5