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

Public Types

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

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
MCAPI ::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, ::std::default_delete<::StructurePoolBlockRule > > > > &&ruleList)

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::std::vector< ::std::unique_ptr<::StructurePoolBlockRule, ::std::default_delete<::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

◆ BlockRulesLookupMap

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

◆ BlockRulesRegistryMap

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

◆ StructureProcessorList

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

Member Function Documentation

◆ get()

MCAPI ::std::optional<::gsl::not_null<::std::shared_ptr< ::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const > > > const > > > JigsawStructureBlockRulesRegistry::get ( ::std::string_view key) 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.

◆ lookupByName()

MCAPI ::std::vector<::std::unique_ptr<::StructurePoolBlockRule > > const * JigsawStructureBlockRulesRegistry::lookupByName ( ::std::string 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.

◆ record()

MCAPI void JigsawStructureBlockRulesRegistry::record ( ::std::string_view key,
::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const > > > processors )
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.

◆ registerBlockRules()

MCAPI void JigsawStructureBlockRulesRegistry::registerBlockRules ( ::std::string name,
::std::unique_ptr<::std::vector< ::std::unique_ptr<::StructurePoolBlockRule, ::std::default_delete<::StructurePoolBlockRule > > > > && ruleList )
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: