Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RideableComponentDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/deps/shared_types/legacy/ExpressionNode.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cereal { struct ReflectionCtx; }
12// clang-format on
13
14namespace SharedTypes::v1_26_60 {
15
16struct RideableComponentDefinition {
17public:
18 // RideableComponentDefinition inner types declare
19 // clang-format off
20 struct SeatDescription;
21 // clang-format on
22
23 // RideableComponentDefinition inner types define
24 enum class DismountMode : uchar {
25 Default = 0,
26 OnTopCenter = 1,
27 LookDirection = 2,
28 };
29
31 public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<4, 12, ::Vec3> mPosition;
35 ::ll::TypedStorage<4, 4, int> mMinSeatCount;
36 ::ll::TypedStorage<4, 8, ::std::optional<int>> mMaxSeatCount;
37 ::ll::TypedStorage<1, 1, bool> mHasSeatRotation;
38 ::ll::TypedStorage<8, 48, ::SharedTypes::Legacy::ExpressionNode> mSeatRotation;
39 ::ll::TypedStorage<1, 1, bool> mLockPassengerRotation;
40 ::ll::TypedStorage<4, 4, float> mLockPassengerRotationDegrees;
41 ::ll::TypedStorage<4, 8, ::std::optional<float>> mThirdPersonCameraRadiusOverride;
42 ::ll::TypedStorage<4, 8, ::std::optional<float>> mCameraRelaxDistanceSmoothing;
43 // NOLINTEND
44
45 public:
46 // member functions
47 // NOLINTBEGIN
49 // NOLINTEND
50 };
51
52public:
53 // member variables
54 // NOLINTBEGIN
55 ::ll::TypedStorage<4, 4, int> mSeatCount;
56 ::ll::TypedStorage<4, 4, int> mControllingSeat;
57 ::ll::TypedStorage<1, 1, bool> mSkipInteractIfCrouching;
58 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_26_60::RideableComponentDefinition::SeatDescription>>
59 mSeats;
60 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mFamilyTypes;
61 ::ll::TypedStorage<8, 32, ::std::string> mInteractText;
62 ::ll::TypedStorage<1, 1, bool> mPullInEntities;
63 ::ll::TypedStorage<1, 1, bool> mPassengerCanPick;
64 ::ll::TypedStorage<4, 4, float> mPassengerMaxWidth;
65 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_26_60::RideableComponentDefinition::DismountMode> mDismountMode;
66 ::ll::TypedStorage<8, 32, ::std::string> mOnRiderEnterEvent;
67 ::ll::TypedStorage<8, 32, ::std::string> mOnRiderExitEvent;
68 // NOLINTEND
69
70public:
71 // prevent constructor by default
72 RideableComponentDefinition();
73
74public:
75 // member functions
76 // NOLINTBEGIN
78
79 MCNAPI void addFamilyTypeByName(::std::string const& name);
80
81 MCNAPI ::SharedTypes::v1_26_60::RideableComponentDefinition&
83
84 MCNAPI ::SharedTypes::v1_26_60::RideableComponentDefinition&
86
88
90 // NOLINTEND
91
92public:
93 // static functions
94 // NOLINTBEGIN
95 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
96 // NOLINTEND
97
98public:
99 // static variables
100 // NOLINTBEGIN
101 MCNAPI static ::std::string_view const& NAME();
102 // NOLINTEND
103
104public:
105 // constructor thunks
106 // NOLINTBEGIN
108 // NOLINTEND
109
110public:
111 // destructor thunk
112 // NOLINTBEGIN
113 MCNAPI void $dtor();
114 // NOLINTEND
115};
116
117} // namespace SharedTypes::v1_26_60
MCAPI bool operator==(::SharedTypes::v1_26_60::RideableComponentDefinition::SeatDescription const &seat) const
Definition RideableComponentDefinition.h:16
MCAPI bool operator==(::SharedTypes::v1_26_60::RideableComponentDefinition const &) const
MCAPI RideableComponentDefinition(::SharedTypes::v1_26_60::RideableComponentDefinition const &)
MCAPI::SharedTypes::v1_26_60::RideableComponentDefinition & operator=(::SharedTypes::v1_26_60::RideableComponentDefinition &&)
static MCAPI ::std::string_view const & NAME()
MCAPI::SharedTypes::v1_26_60::RideableComponentDefinition & operator=(::SharedTypes::v1_26_60::RideableComponentDefinition const &)
MCAPI void addFamilyTypeByName(::std::string const &name)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI void * $ctor(::SharedTypes::v1_26_60::RideableComponentDefinition const &)
Definition ReflectionCtx.h:11
Definition ctx.h:5