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
8// auto generated forward declare list
9// clang-format off
10class Block;
11class HashedString;
12class ItemStackBase;
13namespace SharedTypes::v1_20_50 { struct DiggerItemComponent; }
14// clang-format on
15
16class DiggerItemComponent : public ::NetworkedItemComponent<::DiggerItemComponent> {
17public:
18 // DiggerItemComponent inner types declare
19 // clang-format off
20 struct BlockInfo;
21 // clang-format on
22
23 // DiggerItemComponent inner types define
24 struct BlockInfo {
25 public:
26 // member variables
27 // NOLINTBEGIN
30 // NOLINTEND
31
32 public:
33 // prevent constructor by default
34 BlockInfo& operator=(BlockInfo const&);
35 BlockInfo(BlockInfo const&);
36
37 public:
38 // member functions
39 // NOLINTBEGIN
40 MCNAPI BlockInfo();
41
42 MCNAPI ~BlockInfo();
43 // NOLINTEND
44
45 public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCNAPI void* $ctor();
49 // NOLINTEND
50
51 public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCNAPI void $dtor();
55 // NOLINTEND
56 };
57
58public:
59 // member variables
60 // NOLINTBEGIN
61 ::ll::TypedStorage<1, 1, bool> mUseEfficiency;
62 ::ll::TypedStorage<8, 24, ::std::vector<::DiggerItemComponent::BlockInfo>> mDestroySpeeds;
63 // NOLINTEND
64
65public:
66 // prevent constructor by default
68
69public:
70 // virtual functions
71 // NOLINTBEGIN
72 // vIndex: 0
73 virtual ~DiggerItemComponent() /*override*/ = default;
74 // NOLINTEND
75
76public:
77 // member functions
78 // NOLINTBEGIN
80
81 MCAPI float getDestroySpeed(::ItemStackBase const& item, ::Block const& block) const;
82 // NOLINTEND
83
84public:
85 // static functions
86 // NOLINTBEGIN
87 MCAPI static ::HashedString const& getIdentifier();
88 // NOLINTEND
89
90public:
91 // constructor thunks
92 // NOLINTBEGIN
93 MCAPI void* $ctor(::SharedTypes::v1_20_50::DiggerItemComponent component);
94 // NOLINTEND
95
96public:
97 // vftables
98 // NOLINTBEGIN
99 MCNAPI static void** $vftable();
100 // NOLINTEND
101};
Definition Block.h:38
Definition DiggerItemComponent.h:16
static MCAPI void ** $vftable()
Definition HashedString.h:5
Definition ItemStackBase.h:35
Definition NetworkedItemComponent.h:7
Definition DiggerItemComponent.h:24
Definition DiggerItemComponent.h:12
Definition Alias.h:14