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 CompoundTag;
12class HashedString;
13class SemVersion;
14namespace SharedTypes::v1_20_50 { struct InteractButtonItemComponent; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mRequiresInteract;
23 ::ll::TypedStorage<8, 32, ::std::string> mInteractText;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 3
34 virtual bool isNetworkComponent() const /*override*/;
35
36 // vIndex: 4
37 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
38
39 // vIndex: 5
40 virtual bool initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
41
42 // vIndex: 7
43 virtual void _initializeComponent() /*override*/;
44
45 // vIndex: 0
46 virtual ~InteractButtonItemComponent() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
53
54 MCFOLD ::InteractButtonItemComponent& operator=(::InteractButtonItemComponent&&);
55
56 MCFOLD ::InteractButtonItemComponent& operator=(::InteractButtonItemComponent const&);
57 // NOLINTEND
58
59public:
60 // static functions
61 // NOLINTBEGIN
62 MCAPI static void bindType(
64 ::std::vector<::AllExperiments> const& releasedMinFormatVersion,
65 ::std::optional<::SemVersion> requiredToggles
66 );
67
68 MCAPI static ::HashedString const& getIdentifier();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCFOLD bool $isNetworkComponent() const;
87
88 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
89
90 MCAPI bool $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
91
92 MCAPI void $_initializeComponent();
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCAPI static void** $vftable();
99 // NOLINTEND
100};
Definition CompoundTag.h:13
Definition HashedString.h:5
Definition InteractButtonItemComponent.h:18
Definition ItemComponent.h:16
Definition SemVersion.h:15
Definition InteractButtonItemComponent.h:7
Definition ReflectionCtx.h:11
Definition ctx.h:5