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
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class Block;
15class HashedString;
16class ItemStack;
17class SemVersion;
20namespace Bedrock::PubSub { class Subscription; }
21// clang-format on
22
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<1, 1, bool> mCanUseOnDig;
28 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnMineBlockSubscription;
29 ::ll::TypedStorage<8, 64, ::std::optional<::DefinitionTrigger>> mOnDigDefault;
30 ::ll::TypedStorage<8, 24, ::std::vector<::DiggerBlockDefinitionTrigger>> mOnDigTriggers;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 6
41 virtual void handleVersionBasedInitialization(::SemVersion const& originalJsonVersion) /*override*/;
42
43 // vIndex: 7
44 virtual void _initializeComponent() /*override*/;
45
46 // vIndex: 0
47 virtual ~LegacyOnDigTriggerItemComponent() /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
54
55 MCAPI void _onMineBlock(bool& result, ::ItemStack& item, ::Block const& block, int x, int y, int z, ::Actor& owner);
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCAPI static ::HashedString const& getIdentifier();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::LegacyOnDigTriggerItemComponentData&& componentData);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCAPI void $dtor();
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI void $handleVersionBasedInitialization(::SemVersion const& originalJsonVersion);
80
81 MCAPI void $_initializeComponent();
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition Actor.h:103
Definition Block.h:38
Definition DefinitionTrigger.h:11
Definition HashedString.h:5
Definition ItemStack.h:25
Definition LegacyOnDigTriggerItemComponent.h:23
static MCAPI void ** $vftable()
Definition LegacyTriggerItemComponent.h:17
Definition SemVersion.h:15
Definition DiggerBlockDefinitionTrigger.h:5
Definition LegacyOnDigTriggerItemComponentData.h:5