LeviLamina
Loading...
Searching...
No Matches
TemplateStructurePiece.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7#include "mc/world/level/levelgen/structure/LegacyStructureSettings.h"
8#include "mc/world/level/levelgen/structure/StructurePiece.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockSource;
13class BoundingBox;
15class Random;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::LegacyStructureTemplate*> mTemplate;
23 ::ll::TypedStorage<8, 192, ::LegacyStructureSettings> mSettings;
24 ::ll::TypedStorage<4, 12, ::BlockPos> mTemplatePosition;
25 ::ll::TypedStorage<1, 1, bool> mPostProcessed;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 4
36 virtual bool postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
37
38 // vIndex: 1
39 virtual void moveBoundingBox(int dx, int dy, int dz) /*override*/;
40
41 // vIndex: 13
42 virtual void
43 _handleDataMarker(::std::string const&, ::BlockPos const&, ::BlockSource&, ::Random&, ::BoundingBox const&) = 0;
44
45 // vIndex: 0
46 virtual ~TemplateStructurePiece() /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCNAPI explicit TemplateStructurePiece(int depth);
53
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCNAPI void* $ctor(int depth);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCNAPI void $dtor();
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCNAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
73
74 MCNAPI void $moveBoundingBox(int dx, int dy, int dz);
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition BoundingBox.h:13
Definition LegacyStructureTemplate.h:24
Definition Random.h:11
Definition StructurePiece.h:18
Definition TemplateStructurePiece.h:18
MCAPI void $moveBoundingBox(int dx, int dy, int dz)
MCAPI TemplateStructurePiece(int depth)
MCAPI bool $postProcess(::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
MCAPI void _setBoundingBoxFromTemplate()
MCAPI void * $ctor(int depth)
static MCAPI void ** $vftable()