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
13struct ActorItemCooldownsComponent {
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 // prevent constructor by default
23 ActorItemCooldownsComponent& operator=(ActorItemCooldownsComponent const&);
24 ActorItemCooldownsComponent(ActorItemCooldownsComponent const&);
25 ActorItemCooldownsComponent();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI ActorItemCooldownsComponent(::ActorItemCooldownsComponent&&);
31
32 MCAPI int getItemCooldownLeft(::HashedString const& category) const;
33
34#ifdef LL_PLAT_C
35 MCAPI float getItemCooldownProgress(::HashedString const& category) const;
36#endif
37
38 MCAPI ::std::string startItemCooldown(::HashedString const& category, int tickDuration);
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCAPI void* $ctor(::ActorItemCooldownsComponent&&);
45 // NOLINTEND
46};
Definition HashedString.h:5
Definition ItemCooldown.h:5