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
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
11class HashedString;
12namespace SharedTypes::v1_20_50 { struct InteractButtonItemComponent; }
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, bool> mRequiresInteract;
21 ::ll::TypedStorage<8, 32, ::std::string> mInteractText;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 3
33 virtual bool isNetworkComponent() const /*override*/;
34
35 // vIndex: 4
36 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
37
38 // vIndex: 5
39 virtual bool initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
40
41 // vIndex: 7
42 virtual void _initializeComponent() /*override*/;
43
44 // vIndex: 0
45 virtual ~InteractButtonItemComponent() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
52
53 MCFOLD ::InteractButtonItemComponent& operator=(::InteractButtonItemComponent&&);
54
55 MCFOLD ::InteractButtonItemComponent& operator=(::InteractButtonItemComponent const&);
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCAPI static ::HashedString const& getIdentifier();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCFOLD bool $isNetworkComponent() const;
74
75 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
76
77 MCAPI bool $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
78
79 MCAPI void $_initializeComponent();
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition CompoundTag.h:13
Definition HashedString.h:5
Definition InteractButtonItemComponent.h:16
static MCAPI void ** $vftable()
Definition ItemComponent.h:16
Definition InteractButtonItemComponent.h:12
Definition ReflectionCtx.h:11
Definition ctx.h:5