Skip to content
LeviMC
English
AutoLightDark
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, 8, ::TransientTickingAreaLimits const > mLimitPolicy
::ll::TypedStorage< 8, 16, ::Scripting::WeakLifetimeScope > mScope
::ll::TypedStorage< 8, 8, ::gsl::not_null<::ServerLevel * > > mLevel

Member Function Documentation

◆ _getTickingArea()

MCAPI ::std::optional<::ScriptModuleMinecraft::ScriptTickingArea > ScriptModuleMinecraft::ScriptTickingAreaManager::_getTickingArea ( ::ScriptModuleMinecraft::ScriptTickingAreaManager::PromiseContext const & context) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _hasCapacity()

MCAPI bool ScriptModuleMinecraft::ScriptTickingAreaManager::_hasCapacity ( ::DimensionType const & dimensionId,
::Bounds const & bounds )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _removeTickingAreas()

MCAPI bool ScriptModuleMinecraft::ScriptTickingAreaManager::_removeTickingAreas ( ::std::vector<::mce::UUID > const & uuids)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ bind()

MCAPI ::Scripting::ClassBinding ScriptModuleMinecraft::ScriptTickingAreaManager::bind ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onEvent()

MCAPI::EventResult ScriptModuleMinecraft::ScriptTickingAreaManager::$onEvent ( ::LevelTickingAreaFinishedLoadingEvent const & event)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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