LeviLamina
Loading...
Searching...
No Matches
EnchantableItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/components/NetworkedItemComponent.h"
7#include "mc/world/level/storage/AllExperiments.h"
8
9// auto generated forward declare list
10// clang-format off
11class ComponentItem;
12class HashedString;
13class SemVersion;
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17class EnchantableItemComponent : public ::NetworkedItemComponent<::EnchantableItemComponent> {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, uchar> mEnchantValue;
22 ::ll::TypedStorage<8, 32, ::std::string> mEnchantSlot;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 EnchantableItemComponent(EnchantableItemComponent const&);
28 EnchantableItemComponent();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
34
35 virtual ~EnchantableItemComponent() /*override*/ = default;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCFOLD ::EnchantableItemComponent& operator=(::EnchantableItemComponent&&);
42
43 MCFOLD ::EnchantableItemComponent& operator=(::EnchantableItemComponent const&);
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static void bindType(
51 ::std::vector<::AllExperiments> const& requiredToggles,
52 ::std::optional<::SemVersion> releasedMinFormatVersion
53 );
54
55 MCAPI static ::HashedString const& getIdentifier();
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI void $_initializeComponent(::ComponentItem& owner);
62
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
Definition ComponentItem.h:55
static MCAPI void ** $vftable()
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition ReflectionCtx.h:11
Definition ctx.h:5