Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PreferredPathComponentDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/BlockDescriptor.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cereal { struct ReflectionCtx; }
11// clang-format on
12
13namespace SharedTypes::v1_26_50 {
14
16public:
17 // PreferredPathComponentDefinition inner types declare
18 // clang-format off
19 struct BlockSet;
20 // clang-format on
21
22 // PreferredPathComponentDefinition inner types define
23 struct BlockSet {
24 public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 8, ::std::optional<float>> mCost;
28 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::BlockDescriptor>> mBlockDescriptors;
29 // NOLINTEND
30 };
31
32public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<4, 4, float> mDefaultBlockCost;
36 ::ll::TypedStorage<4, 4, float> mJumpCost;
37 ::ll::TypedStorage<4, 4, int> mMaxFallBlocks;
38 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_26_50::PreferredPathComponentDefinition::BlockSet>>
39 mPreferredPathGroup;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
46 // NOLINTEND
47
48public:
49 // static variables
50 // NOLINTBEGIN
51 MCNAPI static ::std::string_view const& NAME();
52 // NOLINTEND
53};
54
55} // namespace SharedTypes::v1_26_50
Definition PreferredPathComponentDefinition.h:23
Definition PreferredPathComponentDefinition.h:15
static MCAPI ::std::string_view const & NAME()
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition ReflectionCtx.h:11
Definition ctx.h:5