Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
FloodLevel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/deps/script_core/runtime/scripting/Result_deprecated.h"
8#include "mc/editor/Task.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13class BlockSource;
14namespace Editor { class ProjectRegion; }
15namespace Editor { class ServiceProviderCollection; }
16namespace Editor { struct CoroutineStatus; }
17namespace Editor::BlockUtils::FloodLevel { struct FloodResult; }
18namespace Editor::BlockUtils::FloodLevel { struct FloodSearchOptions; }
19namespace Editor::Coroutine { class CoroutineTaskContext; }
20// clang-format on
21
22namespace Editor::BlockUtils::FloodLevel {
23// functions
24// NOLINTBEGIN
25MCNAPI ::Editor::
26 Task<::Scripting::Result_deprecated<::Editor::BlockUtils::FloodLevel::FloodResult>, ::Editor::CoroutineStatus>
27 searchFloodLevel(
28 ::Editor::Coroutine::CoroutineTaskContext& context,
29 ::Editor::ServiceProviderCollection& services,
30 ::WeakRef<::Editor::ProjectRegion> region,
31 ::BlockPos targetLocation,
32 int currentWaterLevel,
33 ::BlockSource* expectedBlockSource,
34 ::std::function<void(::std::vector<::BlockPos> const&)> positionProgress,
35 ::Editor::BlockUtils::FloodLevel::FloodSearchOptions searchOptions
36 );
37// NOLINTEND
38
39} // namespace Editor::BlockUtils::FloodLevel
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition CoroutineTaskContext.h:7
Definition ProjectRegion.h:25
Definition ServiceProviderCollection.h:7
Definition CoroutineStatus.h:7