LeviLamina
Loading...
Searching...
No Matches
CommandAreaFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPos;
8class CommandArea;
9class Dimension;
10struct Bounds;
11// clang-format on
12
13class CommandAreaFactory {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 8, ::Dimension&> mDimension;
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 CommandAreaFactory& operator=(CommandAreaFactory const&);
23 CommandAreaFactory(CommandAreaFactory const&);
24 CommandAreaFactory();
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI explicit CommandAreaFactory(::Dimension& dimension);
30
31 MCAPI ::std::unique_ptr<::CommandArea> _getArea(
32 ::Bounds const& requiredArea,
33 bool allowNonTickingPlayerAndTickingAreaChunks,
34 bool allowUnloadedChunks,
35 bool allowPlayerChunks
36 ) const;
37
38 MCAPI ::std::unique_ptr<::CommandArea> _getNewCommandArea(::Bounds const& requiredArea) const;
39
40 MCAPI ::std::unique_ptr<::CommandArea> findArea(
41 ::BlockPos const& min,
42 ::BlockPos const& max,
43 bool allowNonTickingPlayerAndTickingAreaChunks,
44 bool allowUnloadedChunks,
45 bool allowPlayerChunks
46 ) const;
47
48 MCAPI ::std::unique_ptr<::CommandArea> findAreaWithBuffer(
49 ::BlockPos const& min,
50 ::BlockPos const& max,
51 int commandVersion,
52 bool allowUnloadedChunks,
53 bool allowPlayerChunks
54 ) const;
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static bool shouldAllowNonTickingPlayerAndTickingAreaChunks(int commandVersion);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCFOLD void* $ctor(::Dimension& dimension);
67 // NOLINTEND
68};
Definition BlockPos.h:21
Definition CommandArea.h:11
Definition Dimension.h:89
Definition Bounds.h:8