Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Poi::Storage Struct Reference

Public Member Functions

MCAPI::Poi::Chunk * get (::BlockPos pos) const
MCAPI::Poi::Chunk & getOrCreate (::BlockPos pos)
MCAPI void swap (::Poi::Storage &other)
MCAPI void tick (::LevelStorage &storage)
MCAPI ~Storage ()
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::Poi::Storage from (::Poi::Registry const &registry, ::Dimension const &dimension, ::LevelStorage &storage)

Public Attributes

::ll::TypedStorage< 8, 72, ::entt::dense_map<::Poi::RegionId, ::std::unique_ptr<::Poi::Region > > > mRegions
::ll::TypedStorage< 8, 64, ::std::unordered_set<::Poi::RegionId > > mDirtyRegions
::ll::TypedStorage< 2, 6, ::br::worldgen::WorldGenContext > mWorldContext
::ll::TypedStorage< 8, 80, ::std::mutex > mRegionMutex
::ll::TypedStorage< 8, 64, ::Poi::StorageInfo > mInfo
::ll::TypedStorage< 8, 128, ::cereal::ReflectionCtx > mCtx
::ll::TypedStorage< 8, 64, ::Poi::FileStorage > mBackingStorage
::ll::TypedStorage< 8, 8, ::Poi::Registry const * > mRegistry

Constructor & Destructor Documentation

◆ ~Storage()

MCAPI Poi::Storage::~Storage ( )
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.

Member Function Documentation

◆ get()

MCAPI::Poi::Chunk * Poi::Storage::get ( ::BlockPos pos) 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.

◆ getOrCreate()

MCAPI::Poi::Chunk & Poi::Storage::getOrCreate ( ::BlockPos pos)
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.

◆ swap()

MCAPI void Poi::Storage::swap ( ::Poi::Storage & other)
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.

◆ tick()

MCAPI void Poi::Storage::tick ( ::LevelStorage & storage)
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.

◆ from()

MCAPI ::Poi::Storage Poi::Storage::from ( ::Poi::Registry const & registry,
::Dimension const & dimension,
::LevelStorage & storage )
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.

◆ $dtor()

MCAPI void Poi::Storage::$dtor ( )
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 struct was generated from the following file: