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> mShouldUseFilteredMessage;
42 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mProfanityToggleSubscription;
43 // NOLINTEND
44
45public:
46 // prevent constructor by default
47 CommandBlockScreenController();
48
49public:
50 // virtual functions
51 // NOLINTBEGIN
52 virtual ~CommandBlockScreenController() /*override*/ = default;
53
54 virtual void onOpen() /*override*/;
55
56 virtual ::ui::DirtyFlag tick() /*override*/;
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
62 MCAPI CommandBlockScreenController(
63 ::std::shared_ptr<::ClientInstanceScreenModel> model,
64 ::Player& player,
65 ::BlockPos const& pos,
66 ::ActorUniqueID uniqueId
67 );
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(
74 ::std::shared_ptr<::ClientInstanceScreenModel> model,
75 ::Player& player,
76 ::BlockPos const& pos,
77 ::ActorUniqueID uniqueId
78 );
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCAPI void $onOpen();
85
86 MCAPI ::ui::DirtyFlag $tick();
87 // NOLINTEND
88};
Definition BlockPos.h:17
Definition BlockScreenController.h:5
Definition ClientInstanceScreenModel.h:5
Definition CommandBlockScreenController.h:5
Definition MinecartCommandBlockManager.h:5
Definition Player.h:129
Definition ActorUniqueID.h:5