LeviLamina
Loading...
Searching...
No Matches
EditorProjectRegionManagerServiceProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8
9// auto generated forward declare list
10// clang-format off
11class Dimension;
12struct Bounds;
13namespace Bedrock::PubSub { class Subscription; }
14namespace Editor { struct ProjectRegionManagerChunkProcessingState; }
15// clang-format on
16
17namespace Editor::Services {
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
24
25 virtual ::Scripting::Result_deprecated<void> regenerateRegion(
26 ::DimensionType dimensionType,
27 ::std::vector<::Bounds> const& boundsList,
28 bool regenerateWorldWithExcludedBounds
29 ) = 0;
30
31 virtual ::Scripting::Result_deprecated<void>
32 pruneRegion(::DimensionType dimensionType, ::std::vector<::Bounds> const& boundsList) = 0;
33
34 virtual bool isProcessingChunks() const = 0;
35
36 virtual ::std::optional<::Editor::ProjectRegionManagerChunkProcessingState> getChunkProcessingState() const = 0;
37
38 virtual ::Bedrock::PubSub::Subscription registerChunkProcessingChangeListener(
40 callback
41 ) = 0;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47
48 // NOLINTEND
49};
50
51} // namespace Editor::Services
Definition Subscription.h:10
Definition Dimension.h:86
Definition EditorProjectRegionManagerServiceProvider.h:19
Definition Result_deprecated.h:8
Definition Bounds.h:8
Definition ProjectRegionManagerChunkProcessingState.h:7