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 SharedTypes::v1_20_50 { struct EnchantableItemComponent; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18class EnchantableItemComponent : public ::NetworkedItemComponent<::EnchantableItemComponent> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, uchar> mEnchantValue;
23 ::ll::TypedStorage<8, 32, ::std::string> mEnchantSlot;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 EnchantableItemComponent();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI explicit EnchantableItemComponent(::SharedTypes::v1_20_50::EnchantableItemComponent component);
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void bindType(
47 ::std::vector<::AllExperiments> const& requiredToggles,
48 ::std::optional<::SemVersion> releasedMinFormatVersion
49 );
50
51 MCAPI static ::HashedString const& getIdentifier();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(::SharedTypes::v1_20_50::EnchantableItemComponent component);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCAPI void $_initializeComponent(::ComponentItem& owner);
64
65
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
Definition ComponentItem.h:55
static MCAPI void ** $vftable()
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition EnchantableItemComponent.h:12
Definition ReflectionCtx.h:11
Definition ctx.h:5