LeviLamina
Loading...
Searching...
No Matches
ConditionalListFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/util/molang/ExpressionNode.h"
8#include "mc/world/level/levelgen/feature/IFeature.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13// clang-format on
14
15class ConditionalListFeature : public ::IFeature {
16public:
17 // ConditionalListFeature inner types declare
18 // clang-format off
20 // clang-format on
21
22 // ConditionalListFeature inner types define
23 enum class EarlyOutScheme : int {
24 ConditionSuccess = 0,
25 PlacementSuccess = 1,
26 };
27
29 public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mFeatureRef;
33 ::ll::TypedStorage<8, 16, ::ExpressionNode> mExpressionNode;
34 // NOLINTEND
35 };
36
37public:
38 // member variables
39 // NOLINTBEGIN
40 ::ll::TypedStorage<8, 24, ::std::vector<::ConditionalListFeature::FeatureExpressionNodePair>> mFeatureCollection;
41 ::ll::TypedStorage<4, 4, ::ConditionalListFeature::EarlyOutScheme> mEarlyOutScheme;
42 // NOLINTEND
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47#ifdef LL_PLAT_S
48 virtual ~ConditionalListFeature() /*override*/ = default;
49#else // LL_PLAT_C
50 virtual ~ConditionalListFeature() /*override*/;
51#endif
52
53 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI ConditionalListFeature();
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor();
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
78
79
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition BlockPos.h:21
static MCAPI void ** $vftable()
Definition IFeature.h:19
Definition ConditionalListFeature.h:28
Definition IFeature.h:27
Definition context.h:5