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 MCAPI int getItemCooldownLeft(uint64 categoryHash) const;
27
28#ifdef LL_PLAT_C
29 MCAPI float getItemCooldownProgress(::HashedString const& category) const;
30#endif
31
32 MCAPI int getMaxItemCooldownLeft() const;
33
34 MCAPI bool isItemOnCooldown(::HashedString const& category) const;
35
36 MCAPI ::std::string startItemCooldown(::HashedString const& category, int tickDuration);
37
38 MCAPI void tickCooldowns();
39
41 // NOLINTEND
42
43public:
44 // destructor thunk
45 // NOLINTBEGIN
46 MCAPI void $dtor();
47 // NOLINTEND
48};
Definition HashedString.h:5
Definition ActorItemCooldownsComponent.h:13
Definition ItemCooldown.h:5