LeviLamina
Loading...
Searching...
No Matches
Direction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class Direction {
6public:
7 // Direction inner types define
8 enum class Type : uchar {
9 South = 0,
10 West = 1,
11 North = 2,
12 East = 3,
13 Undefined = 255,
14 };
15
16public:
17 // static functions
18 // NOLINTBEGIN
19 MCAPI static ::Direction::Type getDirection(float xd, float zd);
20 // NOLINTEND
21
22public:
23 // static variables
24 // NOLINTBEGIN
25 MCAPI static ::std::add_lvalue_reference_t<::Direction::Type const[]> DIRECTION_COUNTER_CLOCKWISE();
26
27 MCAPI static ::std::array<uchar, 4> const& DIRECTION_FACING();
28
29 MCAPI static ::std::add_lvalue_reference_t<::Direction::Type const[]> DIRECTION_OPPOSITE();
30
31 MCAPI static ::std::add_lvalue_reference_t<::Direction::Type const[]> FACING_DIRECTION();
32
33 MCAPI static ::std::unordered_map<::std::string, ::Direction::Type> const& FROM_STRING_MAP();
34
35 MCAPI static ::std::add_lvalue_reference_t<uchar[][6]> RELATIVE_DIRECTION_FACING();
36
37 MCAPI static ::std::add_lvalue_reference_t<int const[]> STEP_X();
38
39 MCAPI static ::std::add_lvalue_reference_t<int const[]> STEP_Z();
40
41 MCAPI static ::std::unordered_map<uint, ::std::string> const& TO_STRING_MAP();
42 // NOLINTEND
43};
Definition Direction.h:5