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
14struct BiomeIdType;
15namespace br::worldgen { class GenerationStub; }
16namespace br::worldgen { class StructureInstance; }
17namespace br::worldgen { struct GenerationContext; }
18namespace br::worldgen { struct StructureSpawnOverride; }
19// clang-format on
20
21namespace br::worldgen {
22
23struct Structure {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<1, 1, ::br::worldgen::TerrainAdjustment::Type> mAdjustment;
28 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeIdType>> mBiomes;
29 ::ll::TypedStorage<8, 32, ::std::string> mKey;
30 ::ll::TypedStorage<8, 64, ::std::unordered_map<::SpawnCategory::Type, ::br::worldgen::StructureSpawnOverride>>
31 mMobs;
32 ::ll::TypedStorage<1, 1, ::br::worldgen::GenerationStep::Type> mStep;
33 ::ll::TypedStorage<8, 48, ::HashedString> mType;
34 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::PoolAliasBinding>>> mPoolAliases;
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 Structure& operator=(Structure const&);
40 Structure();
41
42public:
43 // virtual functions
44 // NOLINTBEGIN
45 virtual ~Structure();
46
47 virtual ::std::optional<::br::worldgen::GenerationStub>
48 findValidGenerationPoint(::br::worldgen::GenerationContext&) const = 0;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI Structure(::br::worldgen::Structure const&);
55
56 MCAPI ::std::shared_ptr<::br::worldgen::StructureInstance>
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::br::worldgen::Structure const&);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCAPI void $dtor();
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
84
85} // namespace br::worldgen
Definition PoolAliasBinding.h:14
Definition GenerationStub.h:17
Definition StructureInstance.h:20
Definition BiomeIdType.h:8
Definition GenerationContext.h:17
Definition StructureSpawnOverride.h:16
Definition Structure.h:23
static MCAPI void ** $vftable()
Definition context.h:5