LeviLamina
Loading...
Searching...
No Matches
EndCityPieces.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#include "mc/util/Rotation.h"
8#include "mc/world/level/levelgen/structure/StructurePieceType.h"
9#include "mc/world/level/levelgen/structure/TemplateStructurePiece.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
14class BlockSource;
15class BoundingBox;
16class Random;
18class StructurePiece;
19// clang-format on
20
22public:
23 // EndCityPieces inner types declare
24 // clang-format off
25 class EndCityPiece;
28 class SectionGenerator;
30 class TowerGenerator;
31 // clang-format on
32
33 // EndCityPieces inner types define
35 public:
36 // member variables
37 // NOLINTBEGIN
43 // NOLINTEND
44
45 public:
46 // prevent constructor by default
47 EndCityPiece& operator=(EndCityPiece const&);
50
51 public:
52 // virtual functions
53 // NOLINTBEGIN
54 // vIndex: 2
55 virtual ::StructurePieceType getType() const /*override*/;
56
57 // vIndex: 5
58 virtual void
59 postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
60
61 // vIndex: 13
62 virtual void _handleDataMarker(
63 ::std::string const& markerId,
64 ::BlockPos const& position,
65 ::BlockSource& region,
66 ::Random& random,
67 ::BoundingBox const& chunkBB
68 ) /*override*/;
69
70 // vIndex: 0
71 virtual ~EndCityPiece() /*override*/;
72 // NOLINTEND
73
74 public:
75 // member functions
76 // NOLINTBEGIN
78 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
79 ::std::string templateName,
80 ::BlockPos const& origin,
81 ::Rotation rotation,
82 bool overwrite
83 );
84
85 MCNAPI void _loadAndSetup(::BlockPos const& position);
86 // NOLINTEND
87
88 public:
89 // constructor thunks
90 // NOLINTBEGIN
91 MCNAPI void* $ctor(
92 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
93 ::std::string templateName,
94 ::BlockPos const& origin,
95 ::Rotation rotation,
96 bool overwrite
97 );
98 // NOLINTEND
99
100 public:
101 // destructor thunk
102 // NOLINTBEGIN
103 MCNAPI void $dtor();
104 // NOLINTEND
105
106 public:
107 // virtual function thunks
108 // NOLINTBEGIN
109 MCNAPI ::StructurePieceType $getType() const;
110
111 MCNAPI void $postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
112
114 ::std::string const& markerId,
115 ::BlockPos const& position,
116 ::BlockSource& region,
117 ::Random& random,
118 ::BoundingBox const& chunkBB
119 );
120 // NOLINTEND
121
122 public:
123 // vftables
124 // NOLINTBEGIN
125 MCNAPI static void** $vftable();
126 // NOLINTEND
127 };
128
130 public:
131 // virtual functions
132 // NOLINTBEGIN
133 // vIndex: 0
134 virtual bool generate(
135 ::Bedrock::NotNullNonOwnerPtr<::StructureManager>,
136 ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator>> const&,
137 int,
139 ::BlockPos const&,
140 ::std::vector<::std::unique_ptr<::StructurePiece>>&,
141 ::Random&
142 ) = 0;
143
144 // vIndex: 1
145 virtual ~SectionGenerator() = default;
146 // NOLINTEND
147
148 public:
149 // virtual function thunks
150 // NOLINTBEGIN
151
152 // NOLINTEND
153
154 public:
155 // vftables
156 // NOLINTBEGIN
157 MCNAPI static void** $vftable();
158 // NOLINTEND
159 };
160
161 enum class SectionType : ushort {
162 SectionTower = 0,
163 SectionFatTower = 1,
164 SectionBridge = 2,
165 SectionHouse = 3,
166 };
167
169 public:
170 // virtual functions
171 // NOLINTBEGIN
172 // vIndex: 0
173 virtual bool generate(
174 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
175 ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator>> const& generators,
176 int genDepth,
178 ::BlockPos const& offset,
179 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
180 ::Random& random
181 ) /*override*/;
182
183 // vIndex: 1
184 virtual ~TowerGenerator() /*override*/ = default;
185 // NOLINTEND
186
187 public:
188 // virtual function thunks
189 // NOLINTBEGIN
190 MCNAPI bool $generate(
191 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
192 ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator>> const& generators,
193 int genDepth,
195 ::BlockPos const& offset,
196 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
197 ::Random& random
198 );
199 // NOLINTEND
200
201 public:
202 // vftables
203 // NOLINTBEGIN
204 MCNAPI static void** $vftable();
205 // NOLINTEND
206 };
207
209 public:
210 // virtual functions
211 // NOLINTBEGIN
212 // vIndex: 0
213 virtual bool generate(
214 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
215 ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator>> const& generators,
216 int genDepth,
218 ::BlockPos const& offset,
219 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
220 ::Random& random
221 ) /*override*/;
222
223 // vIndex: 1
224 virtual ~FatTowerGenerator() /*override*/ = default;
225 // NOLINTEND
226
227 public:
228 // virtual function thunks
229 // NOLINTBEGIN
230 MCNAPI bool $generate(
231 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
232 ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator>> const& generators,
233 int genDepth,
235 ::BlockPos const& offset,
236 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
237 ::Random& random
238 );
239 // NOLINTEND
240
241 public:
242 // vftables
243 // NOLINTBEGIN
244 MCNAPI static void** $vftable();
245 // NOLINTEND
246 };
247
249 public:
250 // member variables
251 // NOLINTBEGIN
253 // NOLINTEND
254
255 public:
256 // prevent constructor by default
260
261 public:
262 // virtual functions
263 // NOLINTBEGIN
264 // vIndex: 0
265 virtual bool generate(
266 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
267 ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator>> const& generators,
268 int genDepth,
270 ::BlockPos const& offset,
271 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
272 ::Random& random
273 ) /*override*/;
274
275 // vIndex: 1
276 virtual ~TowerBridgeGenerator() /*override*/ = default;
277 // NOLINTEND
278
279 public:
280 // virtual function thunks
281 // NOLINTBEGIN
282 MCNAPI bool $generate(
283 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
284 ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator>> const& generators,
285 int genDepth,
287 ::BlockPos const& offset,
288 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
289 ::Random& random
290 );
291 // NOLINTEND
292
293 public:
294 // vftables
295 // NOLINTBEGIN
296 MCNAPI static void** $vftable();
297 // NOLINTEND
298 };
299
301 public:
302 // virtual functions
303 // NOLINTBEGIN
304 // vIndex: 0
305 virtual bool generate(
306 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
307 ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator>> const& generators,
308 int genDepth,
310 ::BlockPos const& offset,
311 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
312 ::Random& random
313 ) /*override*/;
314
315 // vIndex: 1
316 virtual ~HouseTowerGenerator() /*override*/ = default;
317 // NOLINTEND
318
319 public:
320 // virtual function thunks
321 // NOLINTBEGIN
322 MCNAPI bool $generate(
323 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
324 ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator>> const& generators,
325 int genDepth,
327 ::BlockPos const& offset,
328 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
329 ::Random& random
330 );
331 // NOLINTEND
332
333 public:
334 // vftables
335 // NOLINTBEGIN
336 MCNAPI static void** $vftable();
337 // NOLINTEND
338 };
339
340public:
341 // static functions
342 // NOLINTBEGIN
343 MCNAPI static ::EndCityPieces::EndCityPiece* _addHelper(
344 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
345 ::std::unique_ptr<::EndCityPieces::EndCityPiece> piece
346 );
347
348 MCNAPI static ::std::unique_ptr<::EndCityPieces::EndCityPiece> _createPiece(
349 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
351 ::BlockPos const& offset,
352 ::std::string const& templateName,
353 ::Rotation rotation,
354 bool overwrite
355 );
356
357 MCNAPI static bool _recursiveChildren(
358 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
359 ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator>> const& generators,
360 ::EndCityPieces::SectionType type,
361 int newGenDepth,
363 ::BlockPos const& offset,
364 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
365 ::Random& random
366 );
367
368 MCNAPI static void startHouseTower(
369 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
370 ::BlockPos const& origin,
371 ::Rotation rotation,
372 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
373 ::Random& random
374 );
375 // NOLINTEND
376};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition BoundingBox.h:13
Definition EndCityPieces.h:34
MCAPI EndCityPiece(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::std::string templateName, ::BlockPos const &origin, ::Rotation rotation, bool overwrite)
MCAPI void _loadAndSetup(::BlockPos const &position)
MCAPI::StructurePieceType $getType() const
static MCAPI void ** $vftable()
MCAPI void $_handleDataMarker(::std::string const &markerId, ::BlockPos const &position, ::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
MCAPI void * $ctor(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::std::string templateName, ::BlockPos const &origin, ::Rotation rotation, bool overwrite)
MCAPI void $postProcessMobsAt(::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
Definition EndCityPieces.h:208
MCAPI bool $generate(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator > > const &generators, int genDepth, ::EndCityPieces::EndCityPiece *parent, ::BlockPos const &offset, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
static MCAPI void ** $vftable()
Definition EndCityPieces.h:300
MCAPI bool $generate(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator > > const &generators, int genDepth, ::EndCityPieces::EndCityPiece *parent, ::BlockPos const &offset, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
static MCAPI void ** $vftable()
Definition EndCityPieces.h:129
static MCAPI void ** $vftable()
Definition EndCityPieces.h:248
static MCAPI void ** $vftable()
MCAPI bool $generate(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator > > const &generators, int genDepth, ::EndCityPieces::EndCityPiece *parent, ::BlockPos const &offset, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
Definition EndCityPieces.h:168
MCAPI bool $generate(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator > > const &generators, int genDepth, ::EndCityPieces::EndCityPiece *parent, ::BlockPos const &offset, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
static MCAPI void ** $vftable()
Definition EndCityPieces.h:21
static MCAPI ::std::unique_ptr<::EndCityPieces::EndCityPiece > _createPiece(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::EndCityPieces::EndCityPiece *parent, ::BlockPos const &offset, ::std::string const &templateName, ::Rotation rotation, bool overwrite)
static MCAPI ::EndCityPieces::EndCityPiece * _addHelper(::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::std::unique_ptr<::EndCityPieces::EndCityPiece > piece)
static MCAPI void startHouseTower(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::BlockPos const &origin, ::Rotation rotation, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
static MCAPI bool _recursiveChildren(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::std::vector<::std::unique_ptr<::EndCityPieces::SectionGenerator > > const &generators, ::EndCityPieces::SectionType type, int newGenDepth, ::EndCityPieces::EndCityPiece *parent, ::BlockPos const &offset, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
Definition Random.h:11
Definition StructureManager.h:40
Definition StructurePiece.h:18
Definition TemplateStructurePiece.h:18
Definition Alias.h:14