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
10
struct
ItemCooldown
;
11
// clang-format on
12
13
struct
ActorItemCooldownsComponent
{
14
public
:
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
21
public
:
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
};
HashedString
Definition
HashedString.h:5
ActorItemCooldownsComponent
Definition
ActorItemCooldownsComponent.h:13
ItemCooldown
Definition
ItemCooldown.h:5
src
mc
entity
components
ActorItemCooldownsComponent.h
Generated on
for LeviLamina by
1.16.1