LeviLamina
Loading...
Searching...
No Matches
VerticalAnchor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace br::worldgen { class WorldGenContext; }
8// clang-format on
9
10namespace br::worldgen {
11
13public:
14 // VerticalAnchor inner types define
15 using AnchorHandler = int (*)(::br::worldgen::WorldGenContext const&, int);
16
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, int> mValue;
21 ::ll::TypedStorage<8, 8, int (*)(::br::worldgen::WorldGenContext const&, int)> mHandler;
22 // NOLINTEND
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCAPI int resolveY(::br::worldgen::WorldGenContext const& heightAccessor) const;
28
29 MCAPI ::std::string toString() const;
30 // NOLINTEND
31
32public:
33 // static functions
34 // NOLINTBEGIN
35 MCAPI static ::br::worldgen::VerticalAnchor aboveBottom(int offset);
36
37 MCAPI static ::br::worldgen::VerticalAnchor absolute(int value);
38
39 MCAPI static ::br::worldgen::VerticalAnchor belowTop(int offset);
40
41 MCAPI static ::br::worldgen::VerticalAnchor fromSea(int offset);
42 // NOLINTEND
43};
44
45} // namespace br::worldgen
Definition VerticalAnchor.h:12
Definition WorldGenContext.h:12