LeviLamina
Loading...
Searching...
No Matches
OceanMonumentPiece.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/StructurePiece.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockSource;
12class BoundingBox;
13class LevelChunk;
14class Random;
15class RoomDefinition;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 OceanMonumentPiece& operator=(OceanMonumentPiece const&);
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 4
36 virtual bool postProcess(::BlockSource&, ::Random&, ::BoundingBox const&) = 0;
37
38 // vIndex: 5
39 virtual void postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
40
41 // vIndex: 8
42 virtual int getWorldZ(int x, int z) /*override*/;
43
44 // vIndex: 7
45 virtual int getWorldX(int x, int z) /*override*/;
46
47 // vIndex: 12
48 virtual void addHardcodedSpawnAreas(::LevelChunk& chunk) const /*override*/;
49
50 // vIndex: 0
51 virtual ~OceanMonumentPiece() /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
58 int orientation,
59 int& roomDefinition,
60 ::std::shared_ptr<::RoomDefinition> roomWidth,
61 int roomHeight,
62 int roomDepth,
63 int genDepth
64 );
65
66 MCAPI bool chunkIntersects(::BoundingBox const& chunkBB, int x0, int z0, int x1, int z1);
67
68 MCAPI void generateBoxOnFillOnly(
69 ::BlockSource& region,
70 ::BoundingBox const& chunkBB,
71 int x0,
72 int y0,
73 int z0,
74 int x1,
75 int y1,
76 int z1,
77 ::Block const& targetBlock
78 );
79
80 MCAPI void
81 generateDefaultFloor(::BlockSource& region, ::BoundingBox const& chunkBB, int xOff, int zOff, bool downOpening);
82
83 MCAPI void spawnElder(::BlockSource& region, ::BoundingBox const& x, int z, int chunkBB, int y);
84 // NOLINTEND
85
86public:
87 // static variables
88 // NOLINTBEGIN
89 MCAPI static int& mGridroomLeftWingConnectIndex();
90
91 MCAPI static int& mGridroomRightWingConnectIndex();
92
93 MCAPI static int& mGridroomSourceIndex();
94
95 MCAPI static int& mGridroomTopConnectIndex();
96
97 MCAPI static int const& mLeftWingIndex();
98
99 MCAPI static int const& mPenthouseIndex();
100
101 MCAPI static int const& mRightWingIndex();
102 // NOLINTEND
103
104public:
105 // constructor thunks
106 // NOLINTBEGIN
107 MCAPI void* $ctor(
108 int orientation,
109 int& roomDefinition,
110 ::std::shared_ptr<::RoomDefinition> roomWidth,
111 int roomHeight,
112 int roomDepth,
113 int genDepth
114 );
115 // NOLINTEND
116
117public:
118 // destructor thunk
119 // NOLINTBEGIN
120 MCAPI void $dtor();
121 // NOLINTEND
122
123public:
124 // virtual function thunks
125 // NOLINTBEGIN
126 MCFOLD void $postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
127
128 MCAPI int $getWorldZ(int x, int z);
129
130 MCAPI int $getWorldX(int x, int z);
131
132 MCAPI void $addHardcodedSpawnAreas(::LevelChunk& chunk) const;
133 // NOLINTEND
134
135public:
136 // vftables
137 // NOLINTBEGIN
138 MCAPI static void** $vftable();
139 // NOLINTEND
140};
Definition BlockSource.h:67
Definition Block.h:36
Definition BoundingBox.h:18
Definition LevelChunk.h:73
Definition OceanMonumentPiece.h:18
Definition Random.h:16
Definition RoomDefinition.h:5
Definition StructurePiece.h:18
Definition Alias.h:14