3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/script_core/lifetime_registry/scripting/WeakLifetimeScope.h"
7#include "mc/deps/script_core/script_engine/scripting/Promise.h"
8#include "mc/platform/UUID.h"
9#include "mc/util/Bounds.h"
10#include "mc/world/events/EventListenerDispatcher.h"
11#include "mc/world/events/EventResult.h"
12#include "mc/world/events/LevelEventListener.h"
13#include "mc/world/level/ChunkPos.h"
14#include "mc/world/level/dimension/DimensionType.h"
15#include "mc/world/level/ticking/TransientTickingAreaLimits.h"
23namespace Scripting {
struct Error; }
26namespace ScriptModuleMinecraft {
41 ::ll::TypedStorage<4, 4, int> mCount;
49 ::ll::TypedStorage<8, 32, ::std::string> mName;
50 ::ll::TypedStorage<4, 48, ::Bounds> mBounds;
51 ::ll::TypedStorage<8, 80, ::Scripting::Promise<void, ::Scripting::Error>> mPromise;
52 ::ll::TypedStorage<4, 4, ::DimensionType> mDimensionType;
53 ::ll::TypedStorage<1, 1, bool> mFinishedLoading;
63 ::std::unordered_map<::mce::UUID, ::ScriptModuleMinecraft::ScriptTickingAreaManager::PromiseContext>>
70 ::std::unordered_map<::ChunkPos, ::ScriptModuleMinecraft::ScriptTickingAreaManager::Counter>>>
72 ::ll::TypedStorage<4, 8, ::TransientTickingAreaLimits const> mLimitPolicy;
73 ::ll::TypedStorage<8, 16, ::Scripting::WeakLifetimeScope> mScope;
74 ::ll::TypedStorage<8, 8, ::gsl::not_null<::ServerLevel*>> mLevel;
88 MCNAPI ::std::optional<::ScriptModuleMinecraft::ScriptTickingArea>
99 MCNAPI static ::Scripting::ClassBinding
bind();
Definition EventListenerDispatcher.h:6
Definition ScriptTickingAreaManager.h:28
MCAPI::EventResult $onEvent(::LevelTickingAreaFinishedLoadingEvent const &event)
MCAPI bool _hasCapacity(::DimensionType const &dimensionId, ::Bounds const &bounds)
MCAPI ::std::optional<::ScriptModuleMinecraft::ScriptTickingArea > _getTickingArea(::ScriptModuleMinecraft::ScriptTickingAreaManager::PromiseContext const &context) const
MCAPI bool _removeTickingAreas(::std::vector<::mce::UUID > const &uuids)
static MCAPI ::Scripting::ClassBinding bind()
Definition ServerLevel.h:58
Definition DimensionType.h:5
Definition LevelTickingAreaFinishedLoadingEvent.h:8
Definition ScriptTickingAreaManager.h:37
Definition ScriptTickingAreaManager.h:45
Definition ScriptTickingArea.h:17
Definition ClassBinding.h:10