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
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 3
35 virtual bool isNetworkComponent() const /*override*/;
36
37 // vIndex: 4
38 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
39
40 // vIndex: 5
41 virtual bool initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
42
43 // vIndex: 7
44 virtual void _initializeComponent() /*override*/;
45
46 // vIndex: 0
47 virtual ~InteractButtonItemComponent() /*override*/ = default;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
54
55 MCFOLD ::InteractButtonItemComponent& operator=(::InteractButtonItemComponent&&);
56
57 MCFOLD ::InteractButtonItemComponent& operator=(::InteractButtonItemComponent const&);
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();
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition CompoundTag.h:13
Definition HashedString.h:5
Definition InteractButtonItemComponent.h:18
static MCAPI void ** $vftable()
Definition ItemComponent.h:16
Definition SemVersion.h:16
Definition InteractButtonItemComponent.h:12
Definition ReflectionCtx.h:11
Definition ctx.h:5