Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
DestructibleByMiningComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/item/ItemDescriptor.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cereal { struct ReflectionCtx; }
11// clang-format on
12
13namespace SharedTypes::v1_26_20::BlockDefinition {
14
16public:
17 // DestructibleByMiningComponent inner types declare
18 // clang-format off
19 struct ItemSpecificSpeed;
21 // clang-format on
22
23 // DestructibleByMiningComponent inner types define
25 public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 24, ::SharedTypes::Legacy::ItemDescriptor> mItem;
29 ::ll::TypedStorage<4, 4, float> mBlockDestroySpeed;
30 // NOLINTEND
31 };
32
34 public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<4, 4, float> mSecondsToDestroy;
38 ::ll::TypedStorage<
39 8,
40 24,
41 ::std::vector<::SharedTypes::v1_26_20::BlockDefinition::DestructibleByMiningComponent::ItemSpecificSpeed>>
42 mItemSpecificSpeeds;
43 // NOLINTEND
44 };
45
46public:
47 // member variables
48 // NOLINTBEGIN
49 ::ll::TypedStorage<
50 8,
51 40,
52 ::std::
53 variant<bool, ::SharedTypes::v1_26_20::BlockDefinition::DestructibleByMiningComponent::DetailedMiningSpeed>>
54 mMiningSpeedValue;
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
61 // NOLINTEND
62
63public:
64 // static variables
65 // NOLINTBEGIN
66 MCNAPI static ::std::string_view const& DestroySpeedId();
67
68 MCNAPI static ::std::string_view const& ItemId();
69
70 MCNAPI static ::std::string_view const& NameId();
71
72 MCNAPI static ::std::string_view const& SecondsToDestroyId();
73
74 MCNAPI static ::std::string_view const& SpecificSpeedsId();
75 // NOLINTEND
76};
77
78} // namespace SharedTypes::v1_26_20::BlockDefinition
static MCAPI ::std::string_view const & SpecificSpeedsId()
static MCAPI ::std::string_view const & SecondsToDestroyId()
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition ReflectionCtx.h:11
Definition ctx.h:5