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 (::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 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 bool anyMatch (::std::vector<::BlockDescriptor > const &blockDescriptors, ::BlockDescriptor const &otherBlockDescriptor)
 
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
 

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