Skip to content
LeviMC
English
AutoLightDark
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
45public:
46 // member variables
47 // NOLINTBEGIN
48 ::ll::TypedStorage<8, 32, ::SharedTypes::v1_20_60::BlockCulling::Description> mDescription;
49 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_21_80::BlockCulling::Rule>> mRules;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
56 // NOLINTEND
57
58public:
59 // static variables
60 // NOLINTBEGIN
61#ifdef LL_PLAT_C
62 MCNAPI static ::SemVersionConstant const& VERSION();
63#endif
64 // NOLINTEND
65};
66
67} // namespace SharedTypes::v1_21_80
Definition SemVersionConstant.h:8
Definition BlockCulling.h:25
Definition BlockCulling.h:17
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition ReflectionCtx.h:11
Definition ctx.h:5