Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ActorItemCooldownsComponent Struct Reference

Public Member Functions

MCAPI int getItemCooldownLeft (::HashedString const &category) const
MCAPI::std::string startItemCooldown (::HashedString const &category, int tickDuration)

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::ItemCooldown > > mItemCooldowns
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::HashedString > > mVanillaItemCooldowns

Member Function Documentation

◆ getItemCooldownLeft()

MCAPI int ActorItemCooldownsComponent::getItemCooldownLeft ( ::HashedString const & category) 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.

◆ startItemCooldown()

MCAPI::std::string ActorItemCooldownsComponent::startItemCooldown ( ::HashedString const & category,
int tickDuration )
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 struct was generated from the following file: