LeviLamina
Loading...
Searching...
No Matches
MemoryType.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace cereal { struct ReflectionCtx; }
8// clang-format on
9
10namespace SharedTypes::v1_21_130::Brain {
11
12struct MemoryType {
13public:
14 // MemoryType inner types declare
15 // clang-format off
16 struct Names;
17 // clang-format on
18
19 // MemoryType inner types define
20 enum class Value : uchar {
21 Invalid = 0,
22 Bool = 1,
23 Int = 2,
24 Float = 3,
25 String = 4,
26 EntityRef = 5,
27 BlockPos = 6,
28 BlockPosVec = 7,
29 PoiMemory = 8,
30 Count = 9,
31 };
32
33 struct Names {
34 public:
35 // static variables
36 // NOLINTBEGIN
37 MCAPI static ::std::string_view const& BLOCK_POS();
38
39 MCAPI static ::std::string_view const& BLOCK_POS_VEC();
40
41 MCAPI static ::std::string_view const& BOOL();
42
43 MCAPI static ::std::string_view const& ENTITY_REF();
44
45 MCAPI static ::std::string_view const& FLOAT();
46
47 MCAPI static ::std::string_view const& INT();
48
49 MCAPI static ::std::string_view const& POI_MEMORY();
50
51 MCAPI static ::std::string_view const& STRING();
52 // NOLINTEND
53 };
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
59 // NOLINTEND
60};
61
62} // namespace SharedTypes::v1_21_130::Brain
Definition BlockPos.h:19
Definition ReflectionCtx.h:11
Definition ctx.h:5