LeviLamina
Loading...
Searching...
No Matches
LevelBlockDestroyer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8// auto generated forward declare list
9// clang-format off
11class BlockPos;
12class BlockSource;
15// clang-format on
16
17class LevelBlockDestroyer {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> const> mLevelEventManager;
22 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::ILevelBlockDestroyerProxy>> const>
23 mLevelBlockDestroyerProxy;
24 // NOLINTEND
25
26#ifdef LL_PLAT_S
27#else // LL_PLAT_C
28public:
29 // prevent constructor by default
30 LevelBlockDestroyer();
31
32#endif
33public:
34 // member functions
35 // NOLINTBEGIN
36#ifdef LL_PLAT_C
37 MCNAPI LevelBlockDestroyer(
38 ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> levelEventManager,
39 ::std::unique_ptr<::ILevelBlockDestroyerProxy> levelBlockDestroyerProxy
40 );
41
42 MCNAPI bool destroyBlock(
43 ::BlockSource& region,
44 ::BlockPos const& pos,
45 bool dropResources,
46 ::BlockChangeContext const& changeSourceContext
47 );
48#endif
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54#ifdef LL_PLAT_C
55 MCNAPI void* $ctor(
56 ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> levelEventManager,
57 ::std::unique_ptr<::ILevelBlockDestroyerProxy> levelBlockDestroyerProxy
58 );
59#endif
60 // NOLINTEND
61};
Definition BlockChangeContext.h:10
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition ILevelBlockDestroyerProxy.h:14
Definition LevelEventManager.h:24