LeviLamina
Loading...
Searching...
No Matches
CooldownItemComponent.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#include "mc/deps/shared_types/item/ItemCooldownType.h"
8#include "mc/world/item/components/NetworkedItemComponent.h"
9#include "mc/world/level/storage/AllExperiments.h"
10
11// auto generated forward declare list
12// clang-format off
13class SemVersion;
14namespace SharedTypes::v1_20_50 { struct CooldownItemComponent; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18class CooldownItemComponent : public ::NetworkedItemComponent<::CooldownItemComponent> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, float> mDuration;
23 ::ll::TypedStorage<1, 1, ::SharedTypes::ItemCooldownType> mType;
24 ::ll::TypedStorage<8, 48, ::HashedString> mCategory;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 CooldownItemComponent();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~CooldownItemComponent() /*override*/ = default;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI CooldownItemComponent(::CooldownItemComponent const&);
41
42 MCAPI explicit CooldownItemComponent(::SharedTypes::v1_20_50::CooldownItemComponent component);
43
44 MCAPI ::CooldownItemComponent& operator=(::CooldownItemComponent&&);
45
46 MCAPI ::CooldownItemComponent& operator=(::CooldownItemComponent const&);
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static void bindType(
54 ::std::vector<::AllExperiments> const& requiredToggles,
55 ::std::optional<::SemVersion> releasedMinFormatVersion
56 );
57
58 MCAPI static ::HashedString const& getIdentifier();
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(::CooldownItemComponent const&);
65
66 MCAPI void* $ctor(::SharedTypes::v1_20_50::CooldownItemComponent component);
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCAPI static void** $vftable();
73 // NOLINTEND
74};
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition CooldownItemComponent.h:15
Definition ReflectionCtx.h:11
Definition ctx.h:5