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