LeviLamina
Loading...
Searching...
No Matches
FixedBiomeSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/biome/source/BiomeSource.h"
7#include "mc/world/level/biome/source/BiomeSourceType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Biome;
12class BiomeArea;
13class BoundingBox;
15class LevelChunk;
16struct BiomeHashType;
17struct BiomeIdType;
18struct GetBiomeOptions;
19// clang-format on
20
21class FixedBiomeSource : public ::BiomeSource {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::Biome const&> mFixedBiome;
26 // NOLINTEND
27
28public:
29 explicit FixedBiomeSource(Biome const& biome) : mFixedBiome(biome) {}
30
31public:
32 // prevent constructor by default
33 FixedBiomeSource& operator=(FixedBiomeSource const&);
34 FixedBiomeSource(FixedBiomeSource const&);
35 FixedBiomeSource();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual void fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const*) const /*override*/;
41
42 virtual bool containsOnly(int allowed, int, int, int, ::gsl::span<::BiomeIdType const>) const /*override*/;
43
44 virtual ::BiomeArea getBiomeArea(::BoundingBox const& area, uint scale) const /*override*/;
45
46 virtual ::BiomeArea getBiomeArea(::BoundingBox const& area, uint scale, ::GetBiomeOptions const&) const
47 /*override*/;
48
49 virtual bool hasBiomeById(::BiomeIdType id) const /*override*/;
50
51 virtual bool hasBiomeByNameHash(::BiomeHashType hash) const /*override*/;
52
53 virtual ::BiomeSourceType const getType() const /*override*/;
54
55 virtual ::Biome const* _getBiome(::GetBiomeOptions const&) const /*override*/;
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::Biome const& fixedBiome);
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI void $fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const*) const;
68
69 MCAPI bool $containsOnly(int allowed, int, int, int, ::gsl::span<::BiomeIdType const>) const;
70
71 MCAPI ::BiomeArea $getBiomeArea(::BoundingBox const& area, uint scale) const;
72
73 MCAPI ::BiomeArea $getBiomeArea(::BoundingBox const& area, uint scale, ::GetBiomeOptions const&) const;
74
75 MCAPI bool $hasBiomeById(::BiomeIdType id) const;
76
77 MCAPI bool $hasBiomeByNameHash(::BiomeHashType hash) const;
78
79 MCFOLD ::BiomeSourceType const $getType() const;
80
81 MCFOLD ::Biome const* $_getBiome(::GetBiomeOptions const&) const;
82
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition BiomeArea.h:11
Definition BiomeSource.h:24
Definition Biome.h:24
Definition BoundingBox.h:13
Definition ChunkLocalNoiseCache.h:8
static MCAPI void ** $vftable()
Definition LevelChunk.h:87
Definition BiomeHashType.h:8
Definition BiomeIdType.h:8
Definition GetBiomeOptions.h:8