Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RegionFile Class Reference

Public Types

using FreeSectorMap = ::std::map<int, bool>

Public Member Functions

MCAPI RegionFile (::Core::Path const &basePath)
MCAPI bool open ()
MCAPI bool readChunk (int x, int z, ::RakNet::BitStream **destChunkData)
MCAPI void * $ctor (::Core::Path const &basePath)

Public Attributes

::ll::TypedStorage< 8, 16, ::Core::File > mFile
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mFileName
::ll::TypedStorage< 4, 4096, ::std::array< int, 1024 > > mOffsets
::ll::TypedStorage< 4, 4096, ::std::array< int, 1024 > > mEmptyChunk
::ll::TypedStorage< 8, 16, ::std::map< int, bool > > mSectorFree

Constructor & Destructor Documentation

◆ RegionFile()

MCAPI RegionFile::RegionFile ( ::Core::Path const & basePath)
explicit
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

◆ open()

MCAPI bool RegionFile::open ( )
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.

◆ readChunk()

MCAPI bool RegionFile::readChunk ( int x,
int z,
::RakNet::BitStream ** destChunkData )
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.

◆ $ctor()

MCAPI void * RegionFile::$ctor ( ::Core::Path const & basePath)
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: