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#ifdef LL_PLAT_C
70 MCAPI ~BlockCulling();
71#endif
72 // NOLINTEND
73
74public:
75 // static functions
76 // NOLINTBEGIN
77 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
78 // NOLINTEND
79
80public:
81 // static variables
82 // NOLINTBEGIN
83 MCAPI static ::SemVersionConstant const& VERSION();
84 // NOLINTEND
85
86public:
87 // destructor thunk
88 // NOLINTBEGIN
89#ifdef LL_PLAT_C
90 MCAPI void $dtor();
91#endif
92 // NOLINTEND
93};
94
95} // 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