Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockTraitFactory Class Reference
Inheritance diagram for BlockTraitFactory:

Classes

Public Types

using RegisteredTraitsMap = ::std::unordered_map<::std::string, ::BlockTraitFactory::TraitMetadata>

Public Member Functions

MCAPI ::std::unique_ptr<::BlockTrait::ITrait > createTrait (::std::string const &name, ::cereal::ReflectionCtx const &ctx) const
MCAPI ~BlockTraitFactory ()
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void registerAllTraits (::cereal::ReflectionCtx &ctx)
static MCAPI ::std::unordered_map<::std::string, ::BlockTraitFactory::TraitMetadata > const * registeredTraits (::cereal::ReflectionCtx const &ctx)
static MCAPI ::BlockTraitFactory & setupContextInstanceIfRequired (::cereal::ReflectionCtx &ctx)

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::BlockTraitFactory::TraitMetadata > > mRegisteredTraits

Constructor & Destructor Documentation

◆ ~BlockTraitFactory()

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

◆ createTrait()

MCAPI ::std::unique_ptr<::BlockTrait::ITrait > BlockTraitFactory::createTrait ( ::std::string const & name,
::cereal::ReflectionCtx const & ctx ) 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.

◆ registerAllTraits()

MCAPI void BlockTraitFactory::registerAllTraits ( ::cereal::ReflectionCtx & ctx)
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.

◆ registeredTraits()

MCAPI ::std::unordered_map<::std::string, ::BlockTraitFactory::TraitMetadata > const * BlockTraitFactory::registeredTraits ( ::cereal::ReflectionCtx const & ctx)
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.

◆ setupContextInstanceIfRequired()

MCAPI ::BlockTraitFactory & BlockTraitFactory::setupContextInstanceIfRequired ( ::cereal::ReflectionCtx & ctx)
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.

◆ $dtor()

MCAPI void BlockTraitFactory::$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: