LeviLamina
Loading...
Searching...
No Matches
MonumentBuilding.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/OceanMonumentPiece.h"
7#include "mc/world/level/levelgen/structure/StructurePieceType.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockSource;
12class BoundingBox;
13class Random;
14class RoomDefinition;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::OceanMonumentPiece>>> mChildPieces;
22 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::RoomDefinition>>> mRoomGrid;
23 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::RoomDefinition>> mSourceRoom;
24 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::RoomDefinition>> mCoreRoom;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 2
35 virtual ::StructurePieceType getType() const /*override*/;
36
37 // vIndex: 4
38 virtual bool postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
39
40 // vIndex: 5
41 virtual void postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
42
43 // vIndex: 0
44 virtual ~MonumentBuilding() /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI MonumentBuilding(::Random& random, short seaLevel, int west, int north, int& orientation);
51
52 MCAPI void generateEntranceArchs(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
53
54 MCAPI void generateEntranceWall(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
55
56 MCAPI void generateLowerWall(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
57
58 MCAPI void generateMiddleWall(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
59
60 MCAPI void generateRoofPiece(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
61
62 MCAPI ::std::vector<::std::shared_ptr<::RoomDefinition>> generateRoomGraph(::Random& random);
63
64 MCAPI void generateUpperWall(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
65
66 MCAPI void
67 generateWing(bool isFlipped, int xoff, ::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(::Random& random, short seaLevel, int west, int north, int& orientation);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCAPI void $dtor();
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCAPI ::StructurePieceType $getType() const;
86
87 MCAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
88
89 MCAPI void $postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition BlockSource.h:66
Definition BoundingBox.h:13
Definition MonumentBuilding.h:17
static MCAPI void ** $vftable()
Definition OceanMonumentPiece.h:18
Definition Random.h:10
Definition RoomDefinition.h:5