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

Public Types

using PatternIdMapToTemplateItemId = ::std::unordered_map<::HashedString, ::HashedString>
using TemplateItemIdToPatternIdMap = ::std::unordered_map<::HashedString, ::HashedString>

Public Member Functions

MCAPI bool doesPatternExist (::HashedString const &patternId) const
MCAPI ::std::vector<::TrimPattern > getAllEntries () const
MCAPI ::std::optional<::HashedString > getPatternIdByItem (::HashedString const &itemId) const
MCAPI void initializeServer (::ItemRegistryRef itemRegistry)

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::HashedString > > mTemplateItemToPatternIdMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::HashedString > > mPatternIdToTemplateItemMap

Member Function Documentation

◆ doesPatternExist()

MCAPI bool TrimPatternRegistry::doesPatternExist ( ::HashedString const & patternId) 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.

◆ getAllEntries()

MCAPI ::std::vector<::TrimPattern > TrimPatternRegistry::getAllEntries ( ) 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.

◆ getPatternIdByItem()

MCAPI ::std::optional<::HashedString > TrimPatternRegistry::getPatternIdByItem ( ::HashedString const & itemId) 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.

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