LeviLamina
Loading...
Searching...
No Matches
BlockCulling.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/Facing.h"
7#include "mc/deps/shared_types/v1_20_60/block/BlockCulling.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
15namespace SharedTypes::v1_21_80 {
16
18public:
19 // BlockCulling inner types declare
20 // clang-format off
21 struct Rule;
22 // clang-format on
23
24 // BlockCulling inner types define
25 struct Rule {
26 public:
27 // Rule inner types define
28 enum class Condition : int {
29 NotDefined = 0,
30 SameCullingLayer = 1,
31 SameBlock = 2,
32 SameBlockPermutation = 3,
33 };
34
35 public:
36 // member variables
37 // NOLINTBEGIN
38 ::ll::TypedStorage<8, 48, ::SharedTypes::v1_20_60::BlockCulling::Rule::GeometryPart> mGeometryPart;
39 ::ll::TypedStorage<4, 8, ::std::optional<::SharedTypes::v1_21_80::BlockCulling::Rule::Condition>> mCondition;
40 ::ll::TypedStorage<1, 1, bool> mCullAgainstFullAndOpaque;
41 ::ll::TypedStorage<2, 2, ::SharedTypes::Facing> mDirectionToCheckAgainst;
42 // NOLINTEND
43
44 public:
45 // prevent constructor by default
46 Rule(Rule const&);
47 Rule();
48
49 public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI ::SharedTypes::v1_21_80::BlockCulling::Rule& operator=(::SharedTypes::v1_21_80::BlockCulling::Rule&&);
53
54 MCAPI ::SharedTypes::v1_21_80::BlockCulling::Rule&
56 // NOLINTEND
57 };
58
59public:
60 // member variables
61 // NOLINTBEGIN
62 ::ll::TypedStorage<8, 32, ::SharedTypes::v1_20_60::BlockCulling::Description> mDescription;
63 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_21_80::BlockCulling::Rule>> mRules;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69
70 // NOLINTEND
71
72public:
73 // static functions
74 // NOLINTBEGIN
75 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
76 // NOLINTEND
77
78public:
79 // static variables
80 // NOLINTBEGIN
81 MCAPI_C static ::SemVersionConstant const& VERSION();
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCAPI_C void $dtor();
88 // NOLINTEND
89};
90
91} // namespace SharedTypes::v1_21_80
Definition SemVersionConstant.h:8
Definition BlockCulling.h:25
Definition BlockCulling.h:17
Definition ReflectionCtx.h:11
Definition ctx.h:5