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

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::BlockActorDynamicPropertiesComponent::SetResult _set (::std::string const &key, uint keyHash, ::std::variant< double, float, bool, ::std::string, ::Vec3 > const &value, ::std::function< void(::std::string const &, uint, ::std::variant< double, float, bool, ::std::string, ::Vec3 > const *)> callback)
MCAPI::BlockActorDynamicPropertiesComponent::SetResult remove (::std::string const &key, ::std::function< void(::std::string const &, uint, ::std::variant< double, float, bool, ::std::string, ::Vec3 > const *)> callback)
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 void ** $vftable ()

Public Attributes

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

Member Typedef Documentation

◆ SetCallbackFn

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

Member Function Documentation

◆ save()

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

Implements IBlockActorComponent.

◆ load()

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

Implements IBlockActorComponent.

◆ $vftable()

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