LeviLamina
Loading...
Searching...
No Matches
DiggerItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/components/NetworkedItemComponent.h"
7#include "mc/world/level/storage/AllExperiments.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class HashedString;
13class ItemStackBase;
14class SemVersion;
15namespace SharedTypes::v1_20_50 { struct DiggerItemComponent; }
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
19class DiggerItemComponent : public ::NetworkedItemComponent<::DiggerItemComponent> {
20public:
21 // DiggerItemComponent inner types declare
22 // clang-format off
23 struct BlockInfo;
24 // clang-format on
25
26 // DiggerItemComponent inner types define
27 struct BlockInfo {
28 public:
29 // member variables
30 // NOLINTBEGIN
33 // NOLINTEND
34
35 public:
36 // prevent constructor by default
37 BlockInfo& operator=(BlockInfo const&);
38 BlockInfo(BlockInfo const&);
39
40 public:
41 // member functions
42 // NOLINTBEGIN
43 MCNAPI BlockInfo();
44
45 MCNAPI ~BlockInfo();
46 // NOLINTEND
47
48 public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCNAPI void* $ctor();
52 // NOLINTEND
53
54 public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCNAPI void $dtor();
58 // NOLINTEND
59 };
60
61public:
62 // member variables
63 // NOLINTBEGIN
64 ::ll::TypedStorage<1, 1, bool> mUseEfficiency;
65 ::ll::TypedStorage<8, 24, ::std::vector<::DiggerItemComponent::BlockInfo>> mDestroySpeeds;
66 // NOLINTEND
67
68public:
69 // prevent constructor by default
71
72public:
73 // virtual functions
74 // NOLINTBEGIN
75 // vIndex: 0
76 virtual ~DiggerItemComponent() /*override*/ = default;
77 // NOLINTEND
78
79public:
80 // member functions
81 // NOLINTBEGIN
83
84 MCAPI float getDestroySpeed(::ItemStackBase const& item, ::Block const& block) const;
85 // NOLINTEND
86
87public:
88 // static functions
89 // NOLINTBEGIN
90 MCAPI static void bindType(
92 ::std::vector<::AllExperiments> const& requiredToggles,
93 ::std::optional<::SemVersion> releasedMinFormatVersion
94 );
95
96 MCAPI static ::HashedString const& getIdentifier();
97 // NOLINTEND
98
99public:
100 // constructor thunks
101 // NOLINTBEGIN
102 MCAPI void* $ctor(::SharedTypes::v1_20_50::DiggerItemComponent component);
103 // NOLINTEND
104
105public:
106 // vftables
107 // NOLINTBEGIN
108 MCNAPI static void** $vftable();
109 // NOLINTEND
110};
Definition Block.h:38
Definition DiggerItemComponent.h:19
static MCAPI void ** $vftable()
Definition HashedString.h:5
Definition ItemStackBase.h:35
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:16
Definition DiggerItemComponent.h:27
Definition DiggerItemComponent.h:12
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14