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
16struct BlockDestructibleByMiningDescription : public ::BlockComponentDescription {
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
26 BlockDestructibleByMiningDescription();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ::std::string const& getName() const /*override*/;
32
33 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
34
35 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36
37 virtual bool isNetworkComponent() const /*override*/;
38
39 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
40
41 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
42
43 virtual ~BlockDestructibleByMiningDescription() /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI explicit BlockDestructibleByMiningDescription(float destroyTime);
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
56 // NOLINTEND
57
58public:
59 // static variables
60 // NOLINTBEGIN
61 MCAPI static ::std::string const& NameID();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(float destroyTime);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCAPI void $dtor();
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI ::std::string const& $getName() const;
80
81 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
82
83 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
84
85 MCFOLD bool $isNetworkComponent() const;
86
87 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
88
89 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
90
91
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
Definition BlockComponentStorage.h:58
Definition CompoundTag.h:23
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ItemSpecificSpeed.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5