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
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 7
36 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
37
38 // vIndex: 0
39 virtual ~EnchantableItemComponent() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
46
47 MCFOLD ::EnchantableItemComponent& operator=(::EnchantableItemComponent&&);
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static void bindType(
55 ::std::vector<::AllExperiments> const& requiredToggles,
56 ::std::optional<::SemVersion> releasedMinFormatVersion
57 );
58
59 MCAPI static ::HashedString const& getIdentifier();
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor(::SharedTypes::v1_20_50::EnchantableItemComponent component);
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI void $_initializeComponent(::ComponentItem& owner);
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
Definition ComponentItem.h:53
Definition EnchantableItemComponent.h:18
static MCAPI void ** $vftable()
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:16
Definition EnchantableItemComponent.h:12
Definition ReflectionCtx.h:11
Definition ctx.h:5