LeviLamina
Loading...
Searching...
No Matches
DynamicPropertiesBlockActorComponent Class Reference
Inheritance diagram for DynamicPropertiesBlockActorComponent:

Public Types

enum class  SetResult : int { Success = 0 , StorageLimitExceeded = 1 , StorageNotFound = 2 }
using SetCallbackFn

Public Member Functions

virtual void save (::CompoundTag &parentTag) const
virtual void load (::CompoundTag const &parentTag, ::BlockActorVersion version)
MCAPI void _loadInception (::CompoundTag const &parentTag)
MCAPI ::std::optional<::std::variant< double, float, bool, ::LeanDynamicProperty::String, ::Vec3 > > get (::std::string const &bucket, ::std::string const &key) const
MCAPI uint64 getByteCount (::std::string const &bucket) const
MCAPI::DynamicPropertiesBlockActorComponent::SetResult remove (::std::string const &bucket, ::std::string const &key, ::std::function< void(::std::string const &, uint, ::std::string const &, uint, ::std::variant< double, float, bool, ::LeanDynamicProperty::String, ::Vec3 > const *)> callback)
MCAPI::DynamicPropertiesBlockActorComponent::SetResult set (::std::string const &bucket, ::std::string const &key, ::std::variant< double, float, bool, ::LeanDynamicProperty::String, ::Vec3 > const &value, ::std::function< void(::std::string const &, uint, ::std::string const &, uint, ::std::variant< double, float, bool, ::LeanDynamicProperty::String, ::Vec3 > const *)> callback)
MCAPI void $dtor ()
MCAPI void $save (::CompoundTag &parentTag) const
MCAPI void $load (::CompoundTag const &parentTag, ::BlockActorVersion version)

Static Public Member Functions

static MCAPI ::std::add_lvalue_reference_t< char const[]> DYNAMIC_PROPERTIES_TAG ()
static MCAPI ::brstd::flat_map< uint, ::std::string, ::std::less< uint >, ::std::vector< uint >, ::std::vector<::std::string > > & mBucketDictionary ()
static MCAPI ::Bedrock::Threading::MutexmDictionaryMutex ()
static MCAPI ::brstd::flat_map< uint, ::std::string, ::std::less< uint >, ::std::vector< uint >, ::std::vector<::std::string > > & mVariableDictionary ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 48, ::brstd::flat_map< uint, ::brstd::flat_map< uint, ::std::variant< double, float, bool, ::LeanDynamicProperty::String, ::Vec3 >, ::std::less< uint >, ::std::vector< uint >, ::std::vector<::std::variant< double, float, bool, ::LeanDynamicProperty::String, ::Vec3 > > >, ::std::less< uint >, ::std::vector< uint >, ::std::vector<::brstd::flat_map< uint, ::std::variant< double, float, bool, ::LeanDynamicProperty::String, ::Vec3 >, ::std::less< uint >, ::std::vector< uint >, ::std::vector<::std::variant< double, float, bool, ::LeanDynamicProperty::String, ::Vec3 > > > > > > mDataMap
::ll::TypedStorage< 8, 48, ::brstd::flat_map< uint, uint64, ::std::less< uint >, ::std::vector< uint >, ::std::vector< uint64 > > > mStorageBytes

Member Typedef Documentation

◆ SetCallbackFn

using DynamicPropertiesBlockActorComponent::SetCallbackFn
Initial value:
::std::function<void(
::std::string const&,
uint,
::std::string const&,
uint,
::std::variant<double, float, bool, ::LeanDynamicProperty::String, ::Vec3> const*
)>

Member Function Documentation

◆ save()

virtual void DynamicPropertiesBlockActorComponent::save ( ::CompoundTag & parentTag) const
virtual

Implements IBlockActorComponent.

◆ load()

virtual void DynamicPropertiesBlockActorComponent::load ( ::CompoundTag const & parentTag,
::BlockActorVersion version )
virtual

Implements IBlockActorComponent.

◆ $vftable()

MCAPI void ** DynamicPropertiesBlockActorComponent::$vftable ( )
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.

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