LeviLamina
Loading...
Searching...
No Matches
ActorItemCooldownsComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7
8// auto generated forward declare list
9// clang-format off
10struct ItemCooldown;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::ItemCooldown>> mItemCooldowns;
18 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::HashedString>> mVanillaItemCooldowns;
19 // NOLINTEND
20
21public:
22 // member functions
23 // NOLINTBEGIN
24 MCAPI int getItemCooldownLeft(::HashedString const& category) const;
25
26#ifdef LL_PLAT_C
27 MCAPI float getItemCooldownProgress(::HashedString const& category) const;
28#endif
29
30 MCAPI ::std::string startItemCooldown(::HashedString const& category, int tickDuration);
31 // NOLINTEND
32};
Definition HashedString.h:5
Definition ActorItemCooldownsComponent.h:13
Definition ItemCooldown.h:5