LeviLamina
Loading...
Searching...
No Matches
JigsawStructureBlockRulesRegistry Class Reference

Public Types

using StructureProcessorPtr = ::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const>>
 
using StructureProcessorList
 
using BlockRulesRegistryMap
 
using BlockRulesLookupMap
 

Public Member Functions

MCAPI ::std::optional<::gsl::not_null<::std::shared_ptr< ::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const > > > const > > > get (::std::string_view key) const
 
MCFOLD ::std::vector<::std::unique_ptr<::StructurePoolBlockRule > > const * lookupByName (::std::string name) const
 
MCAPI void record (::std::string_view key, ::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const > > > processors)
 
MCAPI void registerBlockRules (::std::string name, ::std::unique_ptr<::std::vector<::std::unique_ptr<::StructurePoolBlockRule > > > &&ruleList)
 
MCAPI void $dtor ()
 

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::std::vector<::std::unique_ptr<::StructurePoolBlockRule > > > > > mBlockRulesRegistry
 
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::vector<::std::unique_ptr<::StructurePoolBlockRule > > const * > > mBlockRuleLookupMap
 
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::std::string, ::gsl::not_null<::std::shared_ptr< ::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const > > > const > > > > mProcessors
 

Member Typedef Documentation

◆ StructureProcessorList

using JigsawStructureBlockRulesRegistry::StructureProcessorList
Initial value:
::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const>>>

◆ BlockRulesRegistryMap

using JigsawStructureBlockRulesRegistry::BlockRulesRegistryMap
Initial value:
::std::vector<::std::unique_ptr<::std::vector<::std::unique_ptr<::StructurePoolBlockRule>>>>

◆ BlockRulesLookupMap

using JigsawStructureBlockRulesRegistry::BlockRulesLookupMap
Initial value:
::std::unordered_map<::std::string, ::std::vector<::std::unique_ptr<::StructurePoolBlockRule>> const*>

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