Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockBreakSensorComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/world/events/BlockEventDispatcherToken.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
14// clang-format on
15
16class BlockBreakSensorComponent {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, float> mSensorRadius;
21 ::ll::TypedStorage<4, 12, ::Vec3> mSensorPos;
22 ::ll::TypedStorage<8, 32, ::BlockEventDispatcherToken> mListener;
23 ::ll::TypedStorage<8, 24, ::std::vector<::BlockListEventMap>> mBlockSets;
24 ::ll::TypedStorage<8, 24, ::std::vector<::ActorFilterGroup>> mSourceFilters;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 BlockBreakSensorComponent& operator=(BlockBreakSensorComponent const&);
30 BlockBreakSensorComponent(BlockBreakSensorComponent const&);
31 BlockBreakSensorComponent();
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI void initialize(::Actor& actor);
37
38 MCNAPI ::BlockBreakSensorComponent& operator=(::BlockBreakSensorComponent&&);
39
41 // NOLINTEND
42
43public:
44 // destructor thunk
45 // NOLINTBEGIN
46 MCNAPI void $dtor();
47 // NOLINTEND
48};
Definition ActorFilterGroup.h:19
Definition Actor.h:116
MCAPI::BlockBreakSensorComponent & operator=(::BlockBreakSensorComponent &&)
MCAPI void initialize(::Actor &actor)
Definition BlockListEventMap.h:8