LeviLamina
Loading...
Searching...
No Matches
InteractButtonItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/components/ItemComponent.h"
7#include "mc/world/level/storage/AllExperiments.h"
8
9// auto generated forward declare list
10// clang-format off
11class ComponentItem;
12class CompoundTag;
13class HashedString;
14class SemVersion;
15namespace SharedTypes::v1_20_50 { struct InteractButtonItemComponent; }
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, bool> mRequiresInteract;
24 ::ll::TypedStorage<8, 32, ::std::string> mInteractText;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 3
37 virtual bool isNetworkComponent() const /*override*/;
38
39 // vIndex: 4
40 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
41
42 // vIndex: 5
43 virtual bool initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
44
45 // vIndex: 7
46 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
47
48 // vIndex: 0
49 virtual ~InteractButtonItemComponent() /*override*/ = default;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
56
57 MCFOLD ::InteractButtonItemComponent& operator=(::InteractButtonItemComponent&&);
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCAPI static void bindType(
65 ::std::vector<::AllExperiments> const& requiredToggles,
66 ::std::optional<::SemVersion> releasedMinFormatVersion
67 );
68
69 MCAPI static ::HashedString const& getIdentifier();
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCFOLD bool $isNetworkComponent() const;
82
83 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
84
85 MCAPI bool $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
86
87 MCAPI void $_initializeComponent(::ComponentItem& owner);
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition ComponentItem.h:53
Definition CompoundTag.h:13
Definition HashedString.h:5
Definition InteractButtonItemComponent.h:19
static MCAPI void ** $vftable()
Definition ItemComponent.h:16
Definition SemVersion.h:16
Definition InteractButtonItemComponent.h:12
Definition ReflectionCtx.h:11
Definition ctx.h:5