LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptTickingAreaManager Class Reference
Inheritance diagram for ScriptModuleMinecraft::ScriptTickingAreaManager:

Classes

struct  Counter
struct  PromiseContext

Public Member Functions

virtual::EventResult onEvent (::LevelTickingAreaFinishedLoadingEvent const &event)
MCAPI ::std::optional<::ScriptModuleMinecraft::ScriptTickingArea > _getTickingArea (::ScriptModuleMinecraft::ScriptTickingAreaManager::PromiseContext const &context) const
MCAPI bool _hasCapacity (::DimensionType const &dimensionId, ::Bounds const &bounds)
MCAPI bool _removeTickingAreas (::std::vector<::mce::UUID > const &uuids)
MCAPI::EventResult $onEvent (::LevelTickingAreaFinishedLoadingEvent const &event)

Static Public Member Functions

static MCAPI ::Scripting::ClassBinding bind ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::mce::UUID, ::ScriptModuleMinecraft::ScriptTickingAreaManager::PromiseContext > > mPromiseContexts
::ll::TypedStorage< 8, 16, ::std::map< ::DimensionType, ::std::unordered_map<::ChunkPos, ::ScriptModuleMinecraft::ScriptTickingAreaManager::Counter > > > mTickingChunksCache
::ll::TypedStorage< 4, 4, int const > mMaxNumberOfChunks
::ll::TypedStorage< 8, 16, ::Scripting::WeakLifetimeScope > mScope
::ll::TypedStorage< 8, 8, ::gsl::not_null<::ServerLevel * > > mLevel

The documentation for this class was generated from the following file: