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 // vIndex: 0
46 virtual ~Structure();
47
48 // vIndex: 1
49 virtual ::std::optional<::br::worldgen::GenerationStub>
50 findValidGenerationPoint(::br::worldgen::GenerationContext&) const = 0;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
57
58 MCAPI ::std::shared_ptr<::br::worldgen::StructureInstance>
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor(::br::worldgen::Structure const&);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
86
87} // namespace br::worldgen
Definition PoolAliasBinding.h:14
Definition BiomeIdType.h:8
Definition GenerationContext.h:17
Definition Structure.h:23
static MCAPI void ** $vftable()
Definition context.h:5