Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
DynamicProperties Class Reference

Classes

struct  PropertyCollection

Public Types

using PropertyVariant = ::std::variant<double, float, bool, ::std::string, ::Vec3>

Public Member Functions

MCAPI void clearCollection (::std::string const &collectionName)
MCAPI void deserialize (::CompoundTag const &root, ::cereal::ReflectionCtx const &ctx)
MCAPI ::std::variant< double, float, bool, ::std::string, ::Vec3 > const * getDynamicProperty (::std::string const &key, ::std::string const &collectionName) const
MCAPI ::std::vector<::std::string > getDynamicPropertyIds (::std::string const &collectionName) const
MCAPI uint64 getTotalByteCount (::std::string const &collectionName) const
MCAPI bool removeDynamicProperty (::std::string const &key, ::std::string const &collectionName)
MCAPI ::std::unique_ptr<::CompoundTag > serialize (::cereal::ReflectionCtx const &ctx) const
MCAPI void setDynamicProperty (::std::string const &key, ::std::variant< double, float, bool, ::std::string, ::Vec3 > const &value, ::std::string const &collectionName)
MCAPI void updateCollectionName (::std::string const &from, ::std::string const &to)

Static Public Member Functions

static MCAPI void bindType (::cereal::ReflectionCtx &ctx)
static MCAPI ::std::optional<::Scripting::ArgumentOutOfBoundsError > validateDynamicProperty (::std::string const &key, ::std::variant< double, float, bool, ::std::string, ::Vec3 > const *value)
static MCAPI ::std::string validateDynamicProperty_V010 (::DynamicPropertyDefinition const *propertyDefinition, ::std::string const &key, ::std::variant< double, float, bool, ::std::string, ::Vec3 > const *value)
static MCAPI ::std::string const & STORAGE_TAG ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::DynamicProperties::PropertyCollection > > mPropertyCollections

Member Function Documentation

◆ clearCollection()

MCAPI void DynamicProperties::clearCollection ( ::std::string const & collectionName)
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.

◆ deserialize()

MCAPI void DynamicProperties::deserialize ( ::CompoundTag const & root,
::cereal::ReflectionCtx const & ctx )
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.

◆ getDynamicProperty()

MCAPI ::std::variant< double, float, bool, ::std::string, ::Vec3 > const * DynamicProperties::getDynamicProperty ( ::std::string const & key,
::std::string const & collectionName ) 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.

◆ getDynamicPropertyIds()

MCAPI ::std::vector<::std::string > DynamicProperties::getDynamicPropertyIds ( ::std::string const & collectionName) 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.

◆ getTotalByteCount()

MCAPI uint64 DynamicProperties::getTotalByteCount ( ::std::string const & collectionName) 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.

◆ removeDynamicProperty()

MCAPI bool DynamicProperties::removeDynamicProperty ( ::std::string const & key,
::std::string const & collectionName )
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.

◆ serialize()

MCAPI ::std::unique_ptr<::CompoundTag > DynamicProperties::serialize ( ::cereal::ReflectionCtx const & ctx) 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.

◆ setDynamicProperty()

MCAPI void DynamicProperties::setDynamicProperty ( ::std::string const & key,
::std::variant< double, float, bool, ::std::string, ::Vec3 > const & value,
::std::string const & collectionName )
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.

◆ updateCollectionName()

MCAPI void DynamicProperties::updateCollectionName ( ::std::string const & from,
::std::string const & to )
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()

MCAPI void DynamicProperties::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.

◆ validateDynamicProperty()

MCAPI ::std::optional<::Scripting::ArgumentOutOfBoundsError > DynamicProperties::validateDynamicProperty ( ::std::string const & key,
::std::variant< double, float, bool, ::std::string, ::Vec3 > const * value )
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.

◆ validateDynamicProperty_V010()

MCAPI ::std::string DynamicProperties::validateDynamicProperty_V010 ( ::DynamicPropertyDefinition const * propertyDefinition,
::std::string const & key,
::std::variant< double, float, bool, ::std::string, ::Vec3 > const * value )
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.

◆ STORAGE_TAG()

MCAPI ::std::string const & DynamicProperties::STORAGE_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.

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