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

Public Member Functions

MCAPI void _addDataToCompoundTag (::CompoundTag &compoundTag, ::PropertyMetadata const &propertyMetadata) const
MCAPI ::std::optional< uint64 > _getPropertyTypeArrayIndex (uint64 propertyNameHash, ::PropertyMetadata::ContainedType propertyType) const
MCAPI bool _readValueFromTag (::PropertyMetadata const &propertyMetadata, ::Tag const &tag)
MCAPI void addEntryToSyncData (::PropertyMetadata const &propMetadata, ::PropertySyncData &syncData) const
MCAPI bool getMolangValue (uint64 propertyNameHash, ::MolangScriptArg &out) const
MCAPI ::std::optional<::std::variant< int, float, bool, ::std::string > > getValueVariant (uint64 propertyNameHash) const
MCAPI void readLoadedProperties (::CompoundTag const &loadedPropertyTag)
MCAPI void setAliasProperties (::std::unordered_map<::HashedString, ::std::shared_ptr<::Tag > > const &aliasProperties, ::std::string const &aliasName, ::std::string const &canonicalName)

Public Attributes

::ll::TypedStorage< 8, 16, ::gsl::not_null<::std::shared_ptr<::PropertyGroup const > > > mPropertyGroup
::ll::TypedStorage< 8, 104, ::PropertyValues > mValues

Member Function Documentation

◆ _addDataToCompoundTag()

MCAPI void PropertyContainer::_addDataToCompoundTag ( ::CompoundTag & compoundTag,
::PropertyMetadata const & propertyMetadata ) 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.

◆ _readValueFromTag()

MCAPI bool PropertyContainer::_readValueFromTag ( ::PropertyMetadata const & propertyMetadata,
::Tag const & tag )
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.

◆ addEntryToSyncData()

MCAPI void PropertyContainer::addEntryToSyncData ( ::PropertyMetadata const & propMetadata,
::PropertySyncData & syncData ) 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.

◆ getMolangValue()

MCAPI bool PropertyContainer::getMolangValue ( uint64 propertyNameHash,
::MolangScriptArg & out ) 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.

◆ readLoadedProperties()

MCAPI void PropertyContainer::readLoadedProperties ( ::CompoundTag const & loadedPropertyTag)
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.

◆ setAliasProperties()

MCAPI void PropertyContainer::setAliasProperties ( ::std::unordered_map<::HashedString, ::std::shared_ptr<::Tag > > const & aliasProperties,
::std::string const & aliasName,
::std::string const & canonicalName )
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: