LeviLamina
Loading...
Searching...
No Matches
ActorRiding.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/ViewT.h"
7
8// auto generated forward declare list
9// clang-format off
10class EntityContext;
12class Vec3;
13struct ActorUniqueID;
16struct VehicleComponent;
17// clang-format on
18
19namespace ActorRiding {
20// functions
21// NOLINTBEGIN
22MCAPI ::StrictEntityContext getPassengerClosestTo(
23 ::Vec3 const& pos,
24 ::VehicleComponent const& vehicle,
25 ::ViewT<::StrictEntityContext, ::StateVectorComponent const> const& positions
26);
27
28MCAPI ::std::vector<::StrictActorIDEntityContextPair> const& getPassengers(::EntityContext const& provider);
29
30MCAPI bool isControlled(::EntityContext const& provider);
31
32MCAPI bool isPassenger(::EntityContext const& provider);
33
34MCAPI void
35setVehicle(::EntityContext& provider, ::StrictEntityContext vehicleContext, ::ActorUniqueID const& vehicleID);
36// NOLINTEND
37
38// static variables
39// NOLINTBEGIN
40MCAPI ::std::vector<::StrictActorIDEntityContextPair> const& STRICTACTORIDENTITYCONTEXTPAIR_EMPTY_VECTOR();
41// NOLINTEND
42
43} // namespace ActorRiding
Definition EntityContext.h:15
Definition StrictEntityContext.h:8
Definition Vec3.h:10
Definition ActorUniqueID.h:5
Definition StateVectorComponent.h:8
Definition StrictActorIDEntityContextPair.h:9
Definition VehicleComponent.h:10