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

Public Member Functions

MCAPI StructureTemplatePool (::std::string name, ::std::string fallback, ::std::vector<::std::pair<::StructurePoolElement const *, int > > const &templates)
MCAPI ::std::vector< uint64 > getShuffledTemplateIndexes (::Random &random) const
MCAPI ~StructureTemplatePool ()
MCAPI void * $ctor (::std::string name, ::std::string fallback, ::std::vector<::std::pair<::StructurePoolElement const *, int > > const &templates)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::unique_ptr<::StructureTemplatePool > create (::StructureTemplateRegistrationContext context, ::std::string_view name, ::std::string_view fallback, ::std::initializer_list<::WeightedStructureTemplateRegistration > pieces, ::Projection projection)

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 8, 24, ::std::vector<::StructurePoolElement const * > > mTemplates
::ll::TypedStorage< 8, 32, ::std::string > mFallback

Constructor & Destructor Documentation

◆ StructureTemplatePool()

MCAPI StructureTemplatePool::StructureTemplatePool ( ::std::string name,
::std::string fallback,
::std::vector<::std::pair<::StructurePoolElement const *, int > > const & templates )
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.

◆ ~StructureTemplatePool()

MCAPI StructureTemplatePool::~StructureTemplatePool ( )
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

◆ getShuffledTemplateIndexes()

MCAPI ::std::vector< uint64 > StructureTemplatePool::getShuffledTemplateIndexes ( ::Random & random) 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.

◆ create()

MCAPI ::std::unique_ptr<::StructureTemplatePool > StructureTemplatePool::create ( ::StructureTemplateRegistrationContext context,
::std::string_view name,
::std::string_view fallback,
::std::initializer_list<::WeightedStructureTemplateRegistration > pieces,
::Projection projection )
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.

◆ $ctor()

MCAPI void * StructureTemplatePool::$ctor ( ::std::string name,
::std::string fallback,
::std::vector<::std::pair<::StructurePoolElement const *, int > > const & templates )
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 StructureTemplatePool::$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 class was generated from the following file: