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
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 // vIndex: 0
48 virtual ~ConditionalListFeature() /*override*/ = default;
49
50 // vIndex: 1
51 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition BlockPos.h:17
Definition ConditionalListFeature.h:15
static MCAPI void ** $vftable()
Definition IFeature.h:18
Definition ConditionalListFeature.h:28
Definition IFeature.h:26
Definition context.h:5