LeviLamina
Loading...
Searching...
No Matches
ItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/components/IItemComponentLegacyFactoryData.h"
7
8// auto generated forward declare list
9// clang-format off
10class ComponentItem;
11class CompoundTag;
12class SemVersion;
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::ComponentItem*> mOwner;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 0
27 virtual ~ItemComponent() /*override*/ = default;
28
29 // vIndex: 1
30 virtual bool checkComponentDataForContentErrors() const;
31
32 // vIndex: 2
33 virtual void writeSettings();
34
35 // vIndex: 3
36 virtual bool isNetworkComponent() const;
37
38 // vIndex: 4
39 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
40
41 // vIndex: 5
42 virtual bool initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
43
44 // vIndex: 6
45 virtual void handleVersionBasedInitialization(::SemVersion const& originalJsonVersion);
46
47 // vIndex: 7
48 virtual void _initializeComponent();
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCFOLD bool $checkComponentDataForContentErrors() const;
61
62 MCFOLD void $writeSettings();
63
64 MCFOLD bool $isNetworkComponent() const;
65
66 MCFOLD ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
67
68 MCFOLD bool $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
69
70 MCFOLD void $handleVersionBasedInitialization(::SemVersion const& originalJsonVersion);
71
72 MCFOLD void $_initializeComponent();
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCAPI static void** $vftable();
79 // NOLINTEND
80};
Definition ComponentItem.h:53
Definition CompoundTag.h:13
Definition ItemComponent.h:16
Definition SemVersion.h:15
Definition IItemComponentLegacyFactoryData.h:5
Definition ReflectionCtx.h:11
Definition ctx.h:5