LeviLamina
Loading...
Searching...
No Matches
Structure.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/world/actor/spawn_category/Type.h"
8#include "mc/world/level/levelgen/v2/generation_step/Type.h"
9#include "mc/world/level/levelgen/v2/terrain_adjustment/Type.h"
10
11// auto generated forward declare list
12// clang-format off
14namespace br::worldgen { class GenerationStub; }
15namespace br::worldgen { class StructureInstance; }
16namespace br::worldgen { struct GenerationContext; }
17namespace br::worldgen { struct StructureSpawnOverride; }
18// clang-format on
19
20namespace br::worldgen {
21
22struct Structure {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<1, 1, ::br::worldgen::TerrainAdjustment::Type> mAdjustment;
27 ::ll::TypedStorage<8, 24, ::std::vector<uint64>> mBiomes;
28 ::ll::TypedStorage<8, 32, ::std::string> mKey;
29 ::ll::TypedStorage<8, 64, ::std::unordered_map<::SpawnCategory::Type, ::br::worldgen::StructureSpawnOverride>>
30 mMobs;
31 ::ll::TypedStorage<1, 1, ::br::worldgen::GenerationStep::Type> mStep;
32 ::ll::TypedStorage<8, 48, ::HashedString> mType;
33 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::PoolAliasBinding>>> mPoolAliases;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
38 Structure& operator=(Structure const&);
39 Structure();
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 0
45 virtual ~Structure();
46
47 // vIndex: 1
48 virtual ::std::optional<::br::worldgen::GenerationStub>
49 findValidGenerationPoint(::br::worldgen::GenerationContext&) const = 0;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
56
57 MCNAPI ::std::shared_ptr<::br::worldgen::StructureInstance>
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCNAPI void* $ctor(::br::worldgen::Structure const&);
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCNAPI void $dtor();
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
85
86} // namespace br::worldgen
Definition PoolAliasBinding.h:14
Definition GenerationContext.h:17
Definition Structure.h:22
static MCAPI void ** $vftable()
MCAPI ::std::shared_ptr<::br::worldgen::StructureInstance > generate(::br::worldgen::GenerationContext &context) const
MCAPI void * $ctor(::br::worldgen::Structure const &)
MCAPI Structure(::br::worldgen::Structure const &)
Definition context.h:5