LeviLamina
Loading...
Searching...
No Matches
RideableDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/entity/components_json_legacy/DismountMode.h"
8#include "mc/util/HashStringHashGreater.h"
9#include "mc/util/json_util/JsonSchemaObjectNode.h"
10
11// auto generated forward declare list
12// clang-format off
13class EntityContext;
15struct SeatDescription;
16namespace JsonUtil { class EmptyClass; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, int> mSeatCount;
24 ::ll::TypedStorage<4, 4, int> mControllingSeat;
25 ::ll::TypedStorage<1, 1, bool> mSkipInteractIfCrouching;
26 ::ll::TypedStorage<8, 24, ::std::vector<::SeatDescription>> mSeats;
27 ::ll::TypedStorage<8, 16, ::std::set<::HashedString, ::Util::HashStringHashGreater>> mFamilyTypes;
28 ::ll::TypedStorage<8, 32, ::std::string> mInteractText;
29 ::ll::TypedStorage<1, 1, bool> mPullInEntities;
30 ::ll::TypedStorage<1, 1, bool> mPassengerCanPick;
31 ::ll::TypedStorage<4, 4, float> mPassengerMaxWidth;
32 ::ll::TypedStorage<1, 1, ::DismountMode> mDismountMode;
33 ::ll::TypedStorage<8, 32, ::std::string> mOnRiderEnterEvent;
34 ::ll::TypedStorage<8, 32, ::std::string> mOnRiderExitEvent;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI void addFamilyTypeByName(::std::string const& name);
41
42 MCAPI void initialize(::EntityContext& entity, ::RideableComponent& component) const;
43
44 MCAPI void setDismountMode(::std::string const& mode);
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static void buildSchema(
52 );
53 // NOLINTEND
54};
Definition EntityContext.h:15
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition RideableComponent.h:16
Definition RideableDefinition.h:19
Definition SeatDescription.h:9