3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/GameEventNotification.h"
8#include "mc/client/gui/screens/controllers/BlockScreenController.h"
9#include "mc/deps/core/utility/pub_sub/Subscription.h"
10#include "mc/world/level/BlockPos.h"
11#include "mc/world/level/levelgen/structure/StructureEditorData.h"
12#include "mc/world/level/levelgen/structure/StructureTelemetryClientData.h"
22namespace Json {
class Value; }
28 enum class FilePickerType : uchar {
36 ::ll::TypedStorage<4, 12, ::BlockPos const> mBlockPos;
37 ::ll::TypedStorage<1, 1, bool> mAnimationModeDropdownActive;
38 ::ll::TypedStorage<1, 1, bool> mRedstoneDropdownActive;
39 ::ll::TypedStorage<1, 1, bool> mModeDropDownActive;
40 ::ll::TypedStorage<1, 1, bool> mTextBoxEditing;
41 ::ll::TypedStorage<1, 1, bool> mExportCompleted;
42 ::ll::TypedStorage<1, 1, bool> mExportSucceeded;
43 ::ll::TypedStorage<1, 1, bool> mRenderedStructure;
44 ::ll::TypedStorage<1, 1, bool> mIsExporting;
45 ::ll::TypedStorage<1, 1, bool> mIsImporting;
46 ::ll::TypedStorage<1, 1, bool> mNeedsBindsUpdate;
47 ::ll::TypedStorage<1, 1, bool> mMirrorX;
48 ::ll::TypedStorage<1, 1, bool> mMirrorZ;
49 ::ll::TypedStorage<1, 1, bool> mStructureExists;
50 ::ll::TypedStorage<1, 1, bool> mHasOpened;
51 ::ll::TypedStorage<1, 1, bool> mTrigger3dExport;
52 ::ll::TypedStorage<1, 1, bool const> m3DExportSupport;
53 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MinecraftglTFExporter>> mglTFExporter;
54 ::ll::TypedStorage<8, 216, ::StructureEditorData> mStructureEditorData;
55 ::ll::TypedStorage<8, 8, ::StructureTemplate*> mImportingStructureTemplate;
56 ::ll::TypedStorage<4, 16, ::StructureTelemetryClientData> mTelemetryClientData;
57 ::ll::TypedStorage<8, 32, ::std::string> mAnimationTimeString;
58 ::ll::TypedStorage<8, 32, ::std::string> mSeedString;
59 ::ll::TypedStorage<1, 1, bool> mShouldUseFilteredMessage;
60 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mProfanityToggleSubscription;
65 StructureEditorScreenController();
70 virtual ~StructureEditorScreenController() =
default;
72 virtual void onOpen() ;
74 virtual void onLeave() ;
76 virtual ::ui::DirtyFlag tick() ;
78 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
80 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification notification) ;
82 virtual ::std::string _getButtonADescription() ;
89 ::std::shared_ptr<::ClientInstanceScreenModel> model,
95 MCNAPI
void _filePicker(::StructureEditorScreenController::FilePickerType op);
116 ::std::shared_ptr<::ClientInstanceScreenModel> model,
Definition BlockScreenController.h:5
Definition ClientInstanceScreenModel.h:5
Definition MinecraftglTFExporter.h:5
Definition StructureEditorScreenController.h:5
MCAPI::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification)
MCAPI void _setSeedFromString()
MCAPI::ui::DirtyFlag $tick()
MCAPI StructureEditorScreenController(::std::shared_ptr<::ClientInstanceScreenModel > model, ::Player &player, ::BlockPos const &pos, ::ActorUniqueID uniqueId)
MCAPI void _filePicker(::StructureEditorScreenController::FilePickerType op)
MCAPI void * $ctor(::std::shared_ptr<::ClientInstanceScreenModel > model, ::Player &player, ::BlockPos const &pos, ::ActorUniqueID uniqueId)
MCAPI::std::string $_getButtonADescription()
static MCAPI float _getTextEditValueAsFloat(::TextEditScreenEventData &textEditEvent)
MCAPI void _initiateFileGeneration()
MCAPI::std::string _getTextEditValue(::TextEditScreenEventData &textEditEvent) const
static MCAPI int _getTextEditValueAsInt(::TextEditScreenEventData &textEditEvent)
MCAPI void $addStaticScreenVars(::Json::Value &globalVars)
Definition StructureTemplate.h:35
Definition ActorUniqueID.h:5
Definition TextEditScreenEventData.h:5