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 SemVersion;
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mRequiresInteract;
22 ::ll::TypedStorage<8, 32, ::std::string> mInteractText;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual bool isNetworkComponent() const /*override*/;
29
30 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
31
32 virtual bool initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
33
34 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCFOLD ::std::string getInteractText() const;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static void bindType(
48 ::std::vector<::AllExperiments> const& requiredToggles,
49 ::std::optional<::SemVersion> releasedMinFormatVersion
50 );
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCFOLD bool $isNetworkComponent() const;
57
58 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
59
60 MCAPI bool $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
61
62 MCAPI void $_initializeComponent(::ComponentItem& owner);
63
64
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition ComponentItem.h:50
Definition CompoundTag.h:18
Definition InteractButtonItemComponent.h:17
static MCAPI void ** $vftable()
Definition ItemComponent.h:16
Definition SemVersion.h:15
Definition ReflectionCtx.h:11
Definition ctx.h:5