API Reference
On this page
Public Types | |
| enum class | SetResult : int { Success = 0 , StorageLimitExceeded = 1 , StorageNotFound = 2 } |
| using | SetCallbackFn |
Public Member Functions | |
| virtual void | save (::CompoundTag &parentTag, ::SaveContext const &) const |
| virtual void | load (::CompoundTag const &parentTag, ::ILevel &, ::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 void | saveToTag (::CompoundTag &parentTag) const |
| 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, ::SaveContext const &) const |
| MCAPI void | $load (::CompoundTag const &parentTag, ::ILevel &, ::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 ::std::mutex & | mDictionaryMutex () |
| 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 |
| using DynamicPropertiesBlockActorComponent::SetCallbackFn |
|
virtual |
Implements IBlockActorComponent.
|
virtual |
Implements IBlockActorComponent.
| MCAPI void DynamicPropertiesBlockActorComponent::_loadInception | ( | ::CompoundTag const & | parentTag | ) |
| MCAPI ::std::optional<::std::variant< double, float, bool, ::LeanDynamicProperty::String, ::Vec3 > > DynamicPropertiesBlockActorComponent::get | ( | ::std::string const & | bucket, |
| ::std::string const & | key ) const |
| MCAPI uint64 DynamicPropertiesBlockActorComponent::getByteCount | ( | ::std::string const & | bucket | ) | const |
| MCAPI::DynamicPropertiesBlockActorComponent::SetResult DynamicPropertiesBlockActorComponent::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 void DynamicPropertiesBlockActorComponent::saveToTag | ( | ::CompoundTag & | parentTag | ) | const |
| MCAPI::DynamicPropertiesBlockActorComponent::SetResult DynamicPropertiesBlockActorComponent::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 ) |
|
static |
|
static |
|
static |
|
static |
| MCAPI void DynamicPropertiesBlockActorComponent::$dtor | ( | ) |
| MCAPI void DynamicPropertiesBlockActorComponent::$save | ( | ::CompoundTag & | parentTag, |
| ::SaveContext const & | ) const |
| MCAPI void DynamicPropertiesBlockActorComponent::$load | ( | ::CompoundTag const & | parentTag, |
| ::ILevel & | , | ||
| ::BlockActorVersion | version ) |
|
static |