3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/editor/InteractiveToolError.h"
8#include "mc/editor/Task.h"
15namespace Editor::BlockUtils::FloodLevel {
struct FloodResult; }
18namespace Editor::InteractiveTools {
struct FloodEntry; }
26namespace Editor::InteractiveTools {
29MCNAPI
void bindExtrudeTypes(::cereal::ReflectionCtx& ctx);
31MCNAPI
void bindFloodResultTypes(::cereal::ReflectionCtx& ctx);
33MCNAPI
void bindFloodTypes(::cereal::ReflectionCtx& ctx);
35MCNAPI
void bindSmartFillTypes(::cereal::ReflectionCtx& ctx);
37MCNAPI
void bindTypes(::cereal::ReflectionCtx& ctx);
40MCNAPI ::std::string_view getErrorCanonicalString(::Editor::InteractiveTools::InteractiveToolError error);
42MCNAPI ::std::function<void(::std::vector<::BlockPos>
const&)> makeIncrementalPreviewPublisher(
43 ::WeakRef<::Editor::RelativeVolumeListBlockVolume>
const& previewVolume,
44 ::WeakRef<::Editor::Services::ClientVolumeRenderItem>
const& renderItem,
45 ::std::weak_ptr<bool> lifetimeGuard
49MCNAPI
bool matchesAuthoritativeFloodResult(
50 ::Editor::BlockUtils::FloodLevel::FloodResult
const& authoritative,
51 ::Editor::InteractiveTools::FloodCommitResult
const& committed
55MCNAPI ::Editor::Task<void, ::Editor::CoroutineStatus> prepareFloodEntryResultStream(
56 ::Editor::Coroutine::CoroutineTaskContext& context,
57 ::std::vector<::Editor::InteractiveTools::FloodEntry> entries,
58 ::Editor::InteractiveTools::ResultMetadata metadata,
59 ::std::string resultName,
60 ::std::shared_ptr<::Editor::InteractiveTools::PreparedVolumeResultStream> output
63MCNAPI ::Editor::Task<void, ::Editor::CoroutineStatus> prepareVolumeResultStream(
64 ::Editor::Coroutine::CoroutineTaskContext& context,
65 ::Editor::RelativeVolumeListBlockVolume volume,
66 ::Editor::InteractiveTools::ResultMetadata metadata,
67 ::std::string resultName,
68 ::std::shared_ptr<::Editor::InteractiveTools::PreparedVolumeResultStream> output
72MCNAPI ::Editor::InteractiveTools::InteractiveToolError
73validateFloodOperationMetadata(::Editor::InteractiveTools::FloodOperationMetadata
const& metadata);
Definition CoroutineTaskContext.h:7
Definition RelativeVolumeListBlockVolume.h:24
Definition ClientVolumeRenderItem.h:7
Definition FloodResult.h:7
Definition CoroutineStatus.h:7
Definition FloodEntry.h:7
Definition ReflectionCtx.h:11