LeviLamina
Loading...
Searching...
No Matches
BlockDestructibleByMiningDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/components/BlockComponentDescription.h"
7
8// auto generated forward declare list
9// clang-format off
11class CompoundTag;
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, float> mSecondsToDestroy;
21 ::ll::TypedStorage<8, 24, ::std::vector<::ItemSpecificSpeed>> mItemSpecificSpeeds;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 1
32 virtual ::std::string const& getName() const /*override*/;
33
34 // vIndex: 2
35 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36
37 // vIndex: 4
38 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
39
40 // vIndex: 7
41 virtual bool isNetworkComponent() const /*override*/;
42
43 // vIndex: 8
44 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
45
46 // vIndex: 9
47 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
48
49 // vIndex: 0
50 virtual ~BlockDestructibleByMiningDescription() /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI explicit BlockDestructibleByMiningDescription(float destroyTime);
57 // NOLINTEND
58
59public:
60 // static functions
61 // NOLINTBEGIN
62 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
63 // NOLINTEND
64
65public:
66 // static variables
67 // NOLINTBEGIN
68 MCAPI static ::std::string const& NameID();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(float destroyTime);
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCAPI void $dtor();
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCAPI ::std::string const& $getName() const;
87
88 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
89
90 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
91
92 MCFOLD bool $isNetworkComponent() const;
93
94 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
95
96 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCNAPI static void** $vftable();
103 // NOLINTEND
104};
Definition BlockComponentStorage.h:53
Definition CompoundTag.h:13
Definition BlockComponentDescription.h:20
Definition BlockDestructibleByMiningDescription.h:16
static MCAPI void ** $vftable()
Definition ItemSpecificSpeed.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5