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

Public Member Functions

PropertyComponent & operator= (PropertyComponent const &)
 PropertyComponent (PropertyComponent const &)
MCAPI PropertyComponent (::PropertyComponent &&)
MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI void applyPendingChanges (::std::unordered_map< uint64, ::std::variant< int, float, bool, uint64 > > const &pendingChanges)
MCAPI bool getBool (uint64 h) const
MCAPI::PropertyMetadata::ContainedType getPropertyType (uint64 h) const
MCAPI::PropertySyncData packAllSyncData () const
MCAPI::PropertySyncData packDirtySyncData ()
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)
MCAPI ::std::optional< bool > tryGetBool (uint64 h) const
MCAPI::HashedString const * tryGetString (uint64 h) const
MCAPI void * $ctor (::PropertyComponent &&)

Public Attributes

::ll::TypedStorage< 8, 16, ::gsl::not_null<::std::shared_ptr<::PropertyGroup const > > > mPropertyGroup
::ll::TypedStorage< 4, 4, ::std::bitset< 32 > > mDirtyIntProperties
::ll::TypedStorage< 4, 4, ::std::bitset< 32 > > mDirtyFloatProperties
::ll::TypedStorage< 4, 4, ::std::bitset< 32 > > mDirtyBoolProperties
::ll::TypedStorage< 4, 4, ::std::bitset< 32 > > mDirtyEnumIndexProperties
::ll::TypedStorage< 1, 1, bool > mEverythingDirty
::ll::TypedStorage< 8, 120, ::PropertyContainer > mPropertyContainer

Constructor & Destructor Documentation

◆ PropertyComponent()

MCAPI PropertyComponent::PropertyComponent ( ::PropertyComponent && )
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.

Member Function Documentation

◆ addAdditionalSaveData()

MCAPI void PropertyComponent::addAdditionalSaveData ( ::CompoundTag & tag) 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.

◆ applyPendingChanges()

MCAPI void PropertyComponent::applyPendingChanges ( ::std::unordered_map< uint64, ::std::variant< int, float, bool, uint64 > > const & pendingChanges)
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.

◆ getBool()

MCAPI bool PropertyComponent::getBool ( uint64 h) 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.

◆ getPropertyType()

MCAPI::PropertyMetadata::ContainedType PropertyComponent::getPropertyType ( uint64 h) 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.

◆ packAllSyncData()

MCAPI::PropertySyncData PropertyComponent::packAllSyncData ( ) 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.

◆ packDirtySyncData()

MCAPI::PropertySyncData PropertyComponent::packDirtySyncData ( )
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 PropertyComponent::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.

◆ tryGetString()

MCAPI::HashedString const * PropertyComponent::tryGetString ( uint64 h) 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.

◆ $ctor()

MCAPI void * PropertyComponent::$ctor ( ::PropertyComponent && )
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: