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

Classes

struct  UnlockingInstruction

Public Member Functions

MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI void addUnlockingInstruction (::UnlockedRecipesServerComponent::UnlockingInstruction instruction)
MCAPI bool isRecipeUnlocked (::std::string const &recipeId) const
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI ~UnlockedRecipesServerComponent ()
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::string const & COMPONENT_TAG ()
static MCAPI ::std::string const & UNLOCKED_RECIPES_TAG ()
static MCAPI ::std::string const & USED_CONTEXTS_TAG ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mInventoryHasChanged
::ll::TypedStorage< 1, 1, bool > mInitialDataSent
::ll::TypedStorage< 4, 4, uint > mUsedContexts
::ll::TypedStorage< 8, 64, ::std::unordered_set<::std::string > > mUnlockedRecipes
::ll::TypedStorage< 8, 64, ::std::unordered_set< int > > mChangedInventorySlots
::ll::TypedStorage< 8, 24, ::std::vector<::UnlockedRecipesServerComponent::UnlockingInstruction > > mUnlockingInstructions

Constructor & Destructor Documentation

◆ ~UnlockedRecipesServerComponent()

MCAPI UnlockedRecipesServerComponent::~UnlockedRecipesServerComponent ( )
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 UnlockedRecipesServerComponent::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.

◆ addUnlockingInstruction()

MCAPI void UnlockedRecipesServerComponent::addUnlockingInstruction ( ::UnlockedRecipesServerComponent::UnlockingInstruction instruction)
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.

◆ isRecipeUnlocked()

MCAPI bool UnlockedRecipesServerComponent::isRecipeUnlocked ( ::std::string const & recipeId) 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.

◆ readAdditionalSaveData()

MCAPI void UnlockedRecipesServerComponent::readAdditionalSaveData ( ::Actor & ,
::CompoundTag const & tag,
::DataLoadHelper &  )
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.

◆ COMPONENT_TAG()

MCAPI ::std::string const & UnlockedRecipesServerComponent::COMPONENT_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.

◆ UNLOCKED_RECIPES_TAG()

MCAPI ::std::string const & UnlockedRecipesServerComponent::UNLOCKED_RECIPES_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.

◆ USED_CONTEXTS_TAG()

MCAPI ::std::string const & UnlockedRecipesServerComponent::USED_CONTEXTS_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.

◆ $dtor()

MCAPI void UnlockedRecipesServerComponent::$dtor ( )
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: