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/block/BlockDescriptor.h"
8#include "mc/world/level/storage/AllExperiments.h"
9
10// auto generated forward declare list
11// clang-format off
12class HashedString;
13class SemVersion;
14namespace SharedTypes::v1_20_50 { struct DiggerItemComponent; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18class DiggerItemComponent : public ::NetworkedItemComponent<::DiggerItemComponent> {
19public:
20 // DiggerItemComponent inner types declare
21 // clang-format off
22 struct BlockInfo;
23 // clang-format on
24
25 // DiggerItemComponent inner types define
26 struct BlockInfo {
27 public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 184, ::BlockDescriptor> filter;
31 ::ll::TypedStorage<4, 4, int> destroySpeed;
32 // NOLINTEND
33
34 public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI ~BlockInfo();
38 // NOLINTEND
39
40 public:
41 // destructor thunk
42 // NOLINTBEGIN
43 MCFOLD void $dtor();
44 // NOLINTEND
45 };
46
47public:
48 // member variables
49 // NOLINTBEGIN
50 ::ll::TypedStorage<1, 1, bool> mUseEfficiency;
51 ::ll::TypedStorage<8, 24, ::std::vector<::DiggerItemComponent::BlockInfo>> mDestroySpeeds;
52 // NOLINTEND
53
54public:
55 // prevent constructor by default
57
58public:
59 // virtual functions
60 // NOLINTBEGIN
61 // vIndex: 0
62 virtual ~DiggerItemComponent() /*override*/ = default;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
69 // NOLINTEND
70
71public:
72 // static functions
73 // NOLINTBEGIN
74 MCAPI static void bindType(
76 ::std::vector<::AllExperiments> const& requiredToggles,
77 ::std::optional<::SemVersion> releasedMinFormatVersion
78 );
79
80 MCAPI static ::HashedString const& getIdentifier();
81 // NOLINTEND
82
83public:
84 // constructor thunks
85 // NOLINTBEGIN
86 MCAPI void* $ctor(::SharedTypes::v1_20_50::DiggerItemComponent component);
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCNAPI static void** $vftable();
93 // NOLINTEND
94};
Definition DiggerItemComponent.h:18
static MCAPI void ** $vftable()
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:16
Definition DiggerItemComponent.h:26
Definition DiggerItemComponent.h:12
Definition ReflectionCtx.h:11
Definition ctx.h:5