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/json_util/JsonSchemaObjectNode.h"
9
10// auto generated forward declare list
11// clang-format off
12class EntityContext;
14struct SeatDescription;
15namespace JsonUtil { class EmptyClass; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> mSeatCount;
23 ::ll::TypedStorage<4, 4, int> mControllingSeat;
24 ::ll::TypedStorage<1, 1, bool> mSkipInteractIfCrouching;
25 ::ll::TypedStorage<8, 24, ::std::vector<::SeatDescription>> mSeats;
26 ::ll::TypedStorage<8, 16, ::std::set<::HashedString, ::std::hash<::HashedString>>> mFamilyTypes;
27 ::ll::TypedStorage<8, 32, ::std::string> mInteractText;
28 ::ll::TypedStorage<1, 1, bool> mPullInEntities;
29 ::ll::TypedStorage<1, 1, bool> mPassengerCanPick;
30 ::ll::TypedStorage<4, 4, float> mPassengerMaxWidth;
31 ::ll::TypedStorage<1, 1, ::DismountMode> mDismountMode;
32 ::ll::TypedStorage<8, 32, ::std::string> mOnRiderEnterEvent;
33 ::ll::TypedStorage<8, 32, ::std::string> mOnRiderExitEvent;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI void addFamilyTypeByName(::std::string const& name);
40
41 MCAPI void initialize(::EntityContext& entity, ::RideableComponent& component) const;
42
43 MCAPI void setDismountMode(::std::string const& mode);
44
45 MCAPI ~RideableDefinition();
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static void buildSchema(
53 );
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCFOLD void $dtor();
60 // NOLINTEND
61};
Definition EntityContext.h:17
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition RideableComponent.h:20
Definition RideableDefinition.h:18
Definition SeatDescription.h:9