Skip to content
LeviMC
English
AutoLightDark
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;
18// clang-format on
19
21public:
22 // CommandBlockScreenController inner types define
23 enum class CommandBlockColorContext : int {
24 DropDown = 0,
25 Dialog = 1,
26 };
27
28public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecartCommandBlockManager>> mCBManager;
32 ::ll::TypedStorage<8, 104, ::IntellisenseHandler> mIntellisense;
33 ::ll::TypedStorage<1, 1, bool> mOutputWasTracked;
34 ::ll::TypedStorage<1, 1, bool> mBlockTypeDropDownActive;
35 ::ll::TypedStorage<1, 1, bool> mConditionDropDownActive;
36 ::ll::TypedStorage<1, 1, bool> mRedstoneDropDownActive;
37 ::ll::TypedStorage<1, 1, bool> mIsInputMaximized;
38 ::ll::TypedStorage<1, 1, bool> mModified;
39 ::ll::TypedStorage<1, 1, bool> mUpdateIntellisense;
40 ::ll::TypedStorage<1, 1, bool> mTextBoxEditing;
41 ::ll::TypedStorage<1, 1, bool> mCommandTextBoxSelected;
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*/ = default;
54
55 virtual void onOpen() /*override*/;
56
57 virtual ::ui::DirtyFlag tick() /*override*/;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
64 ::std::shared_ptr<::ClientInstanceScreenModel> model,
65 ::Player& player,
66 ::BlockPos const& pos,
67 ::ActorUniqueID uniqueId
68 );
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCNAPI void* $ctor(
75 ::std::shared_ptr<::ClientInstanceScreenModel> model,
76 ::Player& player,
77 ::BlockPos const& pos,
78 ::ActorUniqueID uniqueId
79 );
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCNAPI void $onOpen();
86
87 MCNAPI ::ui::DirtyFlag $tick();
88 // NOLINTEND
89};
Definition BlockPos.h:14
Definition BlockScreenController.h:5
Definition ClientInstanceScreenModel.h:5
Definition CommandBlockScreenController.h:5
MCAPI void * $ctor(::std::shared_ptr<::ClientInstanceScreenModel > model, ::Player &player, ::BlockPos const &pos, ::ActorUniqueID uniqueId)
MCAPI CommandBlockScreenController(::std::shared_ptr<::ClientInstanceScreenModel > model, ::Player &player, ::BlockPos const &pos, ::ActorUniqueID uniqueId)
MCAPI::ui::DirtyFlag $tick()
Definition MinecartCommandBlockManager.h:5
Definition Player.h:131
Definition ActorUniqueID.h:5