LeviLamina
Loading...
Searching...
No Matches
LegacyOnDigTriggerItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/pub_sub/Subscription.h"
7#include "mc/world/actor/DefinitionTrigger.h"
8#include "mc/world/item/components/LegacyTriggerItemComponent.h"
9#include "mc/world/level/block/BlockDescriptor.h"
10
11// auto generated forward declare list
12// clang-format off
13class ComponentItem;
14class SemVersion;
15namespace SharedTypes::v1_20_50 { struct DiggerItemComponent; }
16// clang-format on
17
18class LegacyOnDigTriggerItemComponent : public ::LegacyTriggerItemComponent {
19public:
20 // LegacyOnDigTriggerItemComponent inner types declare
21 // clang-format off
23 // clang-format on
24
25 // LegacyOnDigTriggerItemComponent inner types define
27 public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 176, ::BlockDescriptor> filter;
31 ::ll::TypedStorage<8, 56, ::DefinitionTrigger> onDig;
32 // NOLINTEND
33 };
34
35public:
36 // member variables
37 // NOLINTBEGIN
38 ::ll::TypedStorage<1, 1, bool> mCanUseOnDig;
39 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnMineBlockSubscription;
40 ::ll::TypedStorage<8, 64, ::std::optional<::DefinitionTrigger>> mOnDigDefault;
41 ::ll::TypedStorage<8, 24, ::std::vector<::LegacyOnDigTriggerItemComponent::DiggerBlockDefinitionTrigger>>
42 mOnDigTriggers;
43 // NOLINTEND
44
45public:
46 // prevent constructor by default
47 LegacyOnDigTriggerItemComponent();
48
49public:
50 // virtual functions
51 // NOLINTBEGIN
52 virtual void handleVersionBasedInitialization(::SemVersion const& originalJsonVersion) /*override*/;
53
54 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI explicit LegacyOnDigTriggerItemComponent(
61 ::SharedTypes::v1_20_50::DiggerItemComponent const& diggerComponentData
62 );
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(::SharedTypes::v1_20_50::DiggerItemComponent const& diggerComponentData);
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI void $handleVersionBasedInitialization(::SemVersion const& originalJsonVersion);
75
76 MCAPI void $_initializeComponent(::ComponentItem& owner);
77
78
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftable();
85 // NOLINTEND
86};
Definition ComponentItem.h:50
static MCAPI void ** $vftable()
Definition LegacyTriggerItemComponent.h:18
Definition SemVersion.h:15
Definition LegacyOnDigTriggerItemComponent.h:26
Definition DiggerItemComponent.h:16