LeviLamina
Loading...
Searching...
No Matches
VoxelShapes::VoxelShapeRegistry Class Reference

Public Member Functions

VoxelShapeRegistry & operator= (VoxelShapeRegistry const &)
 VoxelShapeRegistry (VoxelShapeRegistry const &)
MCAPI::VoxelShapes::RegistryHandle _insertOrFindDuplicate (::VoxelShapes::VoxelShape &&shape, bool isVanillaShape)
MCAPI::VoxelShapes::RegistryHandle addShape (::VoxelShapes::VoxelShape &&shape, bool isVanillaShape)
MCAPI::VoxelShapes::RegistryHandle addShapeForIdentifier (::HashedString const &name, ::VoxelShapes::VoxelShape &&shape, bool isVanillaShape)
MCAPI uint64 getCustomShapeCount () const
MCAPI::VoxelShapes::RegistryHandle getEmptyShapeHandle () const
MCAPI::VoxelShapes::RegistryHandle getHandleByName (::HashedString const &name) const
MCAPI ::std::unordered_map<::HashedString, ::VoxelShapes::RegistryHandle > const & getNameMapForSerialization () const
MCAPI::VoxelShapes::VoxelShape const * getShapeByHandle (::VoxelShapes::RegistryHandle registryHandle) const
MCAPI ::std::vector<::VoxelShapes::VoxelShape > const & getShapesForSerialization () const
MCAPI::VoxelShapes::RegistryHandle getUnitCubeHandle () const
MCAPI void initialize ()
MCAPI bool isInitialized () const

Static Public Member Functions

static MCAPI bool _computeIsCubeShapeEquivalent (::VoxelShapes::VoxelShape const &shape)
static MCAPI ::HashedString const & EMPTY_ID ()
static MCAPI ::HashedString const & UNIT_CUBE_ID ()

Public Attributes

::ll::UntypedStorage< 1, 1 > mUnk3a4b31
::ll::UntypedStorage< 2, 2 > mUnk937122
::ll::UntypedStorage< 2, 2 > mUnk11cf12
::ll::UntypedStorage< 8, 8 > mUnk903343
::ll::UntypedStorage< 8, 8 > mUnka5e922
::ll::UntypedStorage< 8, 24 > mUnk92b9be
::ll::UntypedStorage< 8, 64 > mUnka8a263

Member Function Documentation

◆ _insertOrFindDuplicate()

MCAPI::VoxelShapes::RegistryHandle VoxelShapes::VoxelShapeRegistry::_insertOrFindDuplicate ( ::VoxelShapes::VoxelShape && shape,
bool isVanillaShape )
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.

◆ addShape()

MCAPI::VoxelShapes::RegistryHandle VoxelShapes::VoxelShapeRegistry::addShape ( ::VoxelShapes::VoxelShape && shape,
bool isVanillaShape )
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.

◆ addShapeForIdentifier()

MCAPI::VoxelShapes::RegistryHandle VoxelShapes::VoxelShapeRegistry::addShapeForIdentifier ( ::HashedString const & name,
::VoxelShapes::VoxelShape && shape,
bool isVanillaShape )
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.

◆ getCustomShapeCount()

MCAPI uint64 VoxelShapes::VoxelShapeRegistry::getCustomShapeCount ( ) 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.

◆ getEmptyShapeHandle()

MCAPI::VoxelShapes::RegistryHandle VoxelShapes::VoxelShapeRegistry::getEmptyShapeHandle ( ) 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.

◆ getHandleByName()

MCAPI::VoxelShapes::RegistryHandle VoxelShapes::VoxelShapeRegistry::getHandleByName ( ::HashedString const & name) 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.

◆ getNameMapForSerialization()

MCAPI ::std::unordered_map<::HashedString, ::VoxelShapes::RegistryHandle > const & VoxelShapes::VoxelShapeRegistry::getNameMapForSerialization ( ) 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.

◆ getShapeByHandle()

MCAPI::VoxelShapes::VoxelShape const * VoxelShapes::VoxelShapeRegistry::getShapeByHandle ( ::VoxelShapes::RegistryHandle registryHandle) 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.

◆ getShapesForSerialization()

MCAPI ::std::vector<::VoxelShapes::VoxelShape > const & VoxelShapes::VoxelShapeRegistry::getShapesForSerialization ( ) 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.

◆ getUnitCubeHandle()

MCAPI::VoxelShapes::RegistryHandle VoxelShapes::VoxelShapeRegistry::getUnitCubeHandle ( ) 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.

◆ initialize()

MCAPI void VoxelShapes::VoxelShapeRegistry::initialize ( )
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.

◆ isInitialized()

MCAPI bool VoxelShapes::VoxelShapeRegistry::isInitialized ( ) 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.

◆ _computeIsCubeShapeEquivalent()

MCAPI bool VoxelShapes::VoxelShapeRegistry::_computeIsCubeShapeEquivalent ( ::VoxelShapes::VoxelShape const & shape)
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.

◆ EMPTY_ID()

MCAPI ::HashedString const & VoxelShapes::VoxelShapeRegistry::EMPTY_ID ( )
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.

◆ UNIT_CUBE_ID()

MCAPI ::HashedString const & VoxelShapes::VoxelShapeRegistry::UNIT_CUBE_ID ( )
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.

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