LeviLamina
Loading...
Searching...
No Matches
RotationBindingType.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Vec3;
8namespace cereal { struct ReflectionCtx; }
9// clang-format on
10
11namespace BlockTransformationSerializer {
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<4, 4, int> x;
18 ::ll::TypedStorage<4, 4, int> y;
19 ::ll::TypedStorage<4, 4, int> z;
20 // NOLINTEND
21
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCAPI void rotationTypeFromVec3(::Vec3 const& arr);
26 // NOLINTEND
27
28public:
29 // static functions
30 // NOLINTBEGIN
31 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
32
33 MCAPI static ::BlockTransformationSerializer::RotationBindingType getRotationTypeFromVec3(::Vec3 const& arr);
34
35 MCAPI static ::Vec3 getVec3FromXYZRotation(int x, int y, int z);
36
37 MCAPI static bool isAxisAligned(::Vec3 const& rotation);
38 // NOLINTEND
39};
40
41} // namespace BlockTransformationSerializer
Definition Vec3.h:10
Definition RotationBindingType.h:13
Definition ReflectionCtx.h:11
Definition ctx.h:5