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 StructureTemplatePool (::StructureTemplateRegistrationContext context, ::std::string_view name, ::std::string_view fallback, ::Projection projection, ::std::initializer_list<::WeightedStructureTemplateRegistration > pieces)
 
MCAPI ::std::vector< uint64 > getShuffledTemplateIndexes (::Random &random) const
 
MCAPI void * $ctor (::std::string name, ::std::string fallback, ::std::vector<::std::pair<::StructurePoolElement const *, int > > const &templates)
 
MCAPI void * $ctor (::StructureTemplateRegistrationContext context, ::std::string_view name, ::std::string_view fallback, ::Projection projection, ::std::initializer_list<::WeightedStructureTemplateRegistration > pieces)
 
MCAPI void $dtor ()
 

Static Public Member Functions

static MCAPI ::std::unique_ptr<::StructureTemplatePoolcreate (::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
 

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