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

Classes

class  ResolvedState
 
class  ResolveHelper
 
struct  State
 

Public Types

enum class  CompareType : int { AnyTag = 0 , BlockName = 1 , States = 2 , Unknown = 3 }
 
using CompoundProxy = ::SharedTypes::Legacy::BlockDescriptor::Compound
 

Public Member Functions

MCAPI BlockDescriptor ()
 
MCAPI BlockDescriptor (::SharedTypes::Legacy::BlockDescriptor desc)
 
MCAPI BlockDescriptor (::HashedString const &fullName)
 
MCAPI BlockDescriptor (::BlockDescriptor &&rhs)
 
MCAPI BlockDescriptor (::BlockDescriptor const &rhs)
 
MCAPI BlockDescriptor (::std::string const &name, ::std::vector<::BlockDescriptor::State > &&states)
 
MCAPI bool _anyTagsMatch (::Block const &block) const
 
MCAPI void _resolve (bool logInvalidBlocks) const
 
MCAPI bool _statesMatch (::Block const &block) const
 
MCAPI::Block const & getBlockOrUnknownBlock () const
 
MCAPI::BlockDescriptor::CompareType const & getCompareType () const
 
MCAPI bool matches (::Block const &block) const
 
MCAPI bool matches (::BlockDescriptor const &otherDescriptor) const
 
MCAPI void operator= (::BlockDescriptor &&rhs)
 
MCAPI void operator= (::BlockDescriptor const &rhs)
 
MCAPI ::std::unique_ptr<::CompoundTagtoCompoundTag () const
 
MCAPI::Block const * tryGetBlock () const
 
MCAPI ~BlockDescriptor ()
 
MCAPI void * $ctor ()
 
MCAPI void * $ctor (::SharedTypes::Legacy::BlockDescriptor desc)
 
MCAPI void * $ctor (::HashedString const &fullName)
 
MCAPI void * $ctor (::BlockDescriptor &&rhs)
 
MCAPI void * $ctor (::BlockDescriptor const &rhs)
 
MCAPI void * $ctor (::std::string const &name, ::std::vector<::BlockDescriptor::State > &&states)
 
MCAPI void $dtor ()
 

Static Public Member Functions

static MCAPI bool anyMatch (::std::vector<::BlockDescriptor > const &blockDescriptors, ::Block const &block)
 
static MCAPI void bindType (::cereal::ReflectionCtx &ctx)
 
static MCAPI ::BlockDescriptor fromCompoundTag (::CompoundTag const &tag)
 
static MCAPI ::BlockDescriptor fromTagExpression (::std::string const &tagExpression, ::MolangVersion molangVersion)
 
static MCAPI ::std::add_lvalue_reference_t< char const[]> JSON_NAME_FIELD ()
 
static MCAPI ::std::add_lvalue_reference_t< char const[]> JSON_STATES_FIELD ()
 
static MCAPI ::std::add_lvalue_reference_t< char const[]> JSON_TAGS_FIELD ()
 

Public Attributes

char filler [0xB8]
 
::ll::TypedStorage< 8, 8, ::BlockDescriptor::ResolveHelpermResolveHelper
 
::ll::TypedStorage< 8, 48, ::HashedStringmBlockName
 
::ll::TypedStorage< 1, 1, bool > mIsComplexAlias
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::ExpressionNode > > mTags
 
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor::State > > mRawStates
 
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor::ResolvedState > > mResolvedStates
 
::ll::TypedStorage< 4, 4, ::BlockDescriptor::CompareType > mCompareType
 
::ll::TypedStorage< 1, 1, bool > mContentLogOnError
 
::ll::TypedStorage< 8, 8, ::Block const * > mBlock
 
::ll::TypedStorage< 1, 1, bool > mValid
 
::ll::TypedStorage< 1, 1, bool > mIsDeferred
 
::ll::TypedStorage< 8, 32, ::SpinLockImplmLock
 

Constructor & Destructor Documentation

◆ BlockDescriptor() [1/6]

MCAPI BlockDescriptor::BlockDescriptor ( )
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.

◆ BlockDescriptor() [2/6]

MCAPI BlockDescriptor::BlockDescriptor ( ::SharedTypes::Legacy::BlockDescriptor desc)
explicit
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.

◆ BlockDescriptor() [3/6]

MCAPI BlockDescriptor::BlockDescriptor ( ::HashedString const & fullName)
explicit
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.

◆ BlockDescriptor() [4/6]

MCAPI BlockDescriptor::BlockDescriptor ( ::BlockDescriptor && rhs)
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.

◆ BlockDescriptor() [5/6]

MCAPI BlockDescriptor::BlockDescriptor ( ::BlockDescriptor const & rhs)
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.

◆ BlockDescriptor() [6/6]

MCAPI BlockDescriptor::BlockDescriptor ( ::std::string const & name,
::std::vector<::BlockDescriptor::State > && states )
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.

◆ ~BlockDescriptor()

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

◆ _anyTagsMatch()

MCAPI bool BlockDescriptor::_anyTagsMatch ( ::Block const & block) 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.

◆ _resolve()

MCAPI void BlockDescriptor::_resolve ( bool logInvalidBlocks) 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.

◆ _statesMatch()

MCAPI bool BlockDescriptor::_statesMatch ( ::Block const & block) 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.

◆ getBlockOrUnknownBlock()

MCAPI::Block const & BlockDescriptor::getBlockOrUnknownBlock ( ) 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.

◆ getCompareType()

MCAPI::BlockDescriptor::CompareType const & BlockDescriptor::getCompareType ( ) 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.

◆ matches() [1/2]

MCAPI bool BlockDescriptor::matches ( ::Block const & block) 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.

◆ matches() [2/2]

MCAPI bool BlockDescriptor::matches ( ::BlockDescriptor const & otherDescriptor) 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.

◆ operator=() [1/2]

MCAPI void BlockDescriptor::operator= ( ::BlockDescriptor && rhs)
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.

◆ operator=() [2/2]

MCAPI void BlockDescriptor::operator= ( ::BlockDescriptor const & rhs)
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.

◆ toCompoundTag()

MCAPI ::std::unique_ptr<::CompoundTag > BlockDescriptor::toCompoundTag ( ) 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.

◆ tryGetBlock()

MCAPI::Block const * BlockDescriptor::tryGetBlock ( ) 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.

◆ anyMatch()

static MCAPI bool BlockDescriptor::anyMatch ( ::std::vector<::BlockDescriptor > const & blockDescriptors,
::Block const & block )
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.

◆ bindType()

static MCAPI void BlockDescriptor::bindType ( ::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.

◆ fromCompoundTag()

static MCAPI ::BlockDescriptor BlockDescriptor::fromCompoundTag ( ::CompoundTag const & tag)
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.

◆ fromTagExpression()

static MCAPI ::BlockDescriptor BlockDescriptor::fromTagExpression ( ::std::string const & tagExpression,
::MolangVersion molangVersion )
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.

◆ JSON_NAME_FIELD()

static MCAPI ::std::add_lvalue_reference_t< char const []> BlockDescriptor::JSON_NAME_FIELD ( )
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.

◆ JSON_STATES_FIELD()

static MCAPI ::std::add_lvalue_reference_t< char const []> BlockDescriptor::JSON_STATES_FIELD ( )
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.

◆ JSON_TAGS_FIELD()

static MCAPI ::std::add_lvalue_reference_t< char const []> BlockDescriptor::JSON_TAGS_FIELD ( )
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() [1/6]

MCAPI void * BlockDescriptor::$ctor ( )
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() [2/6]

MCAPI void * BlockDescriptor::$ctor ( ::SharedTypes::Legacy::BlockDescriptor desc)
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() [3/6]

MCAPI void * BlockDescriptor::$ctor ( ::HashedString const & fullName)
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() [4/6]

MCAPI void * BlockDescriptor::$ctor ( ::BlockDescriptor && rhs)
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() [5/6]

MCAPI void * BlockDescriptor::$ctor ( ::BlockDescriptor const & rhs)
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() [6/6]

MCAPI void * BlockDescriptor::$ctor ( ::std::string const & name,
::std::vector<::BlockDescriptor::State > && states )
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 BlockDescriptor::$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: