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 void clearVehiclePrev(::EntityContext& provider);
23
24MCAPI ::StrictEntityContext getPassengerClosestTo(
25 ::Vec3 const& pos,
26 ::VehicleComponent const& vehicle,
27 ::ViewT<::StrictEntityContext, ::StateVectorComponent const> const& positions
28);
29
30MCAPI ::std::vector<::StrictActorIDEntityContextPair> const& getPassengers(::EntityContext const& provider);
31
32MCAPI ::std::vector<::StrictActorIDEntityContextPair> const&
33getPendingRemovePassengers(::EntityContext const& provider);
34
35MCAPI ::ActorUniqueID getVehicleID(::EntityContext const& provider);
36
37MCAPI ::StrictEntityContext getVehiclePrevEntity(::EntityContext const& provider);
38
39MCAPI bool isControlled(::EntityContext const& provider);
40
41MCAPI bool isPassenger(::EntityContext const& provider);
42
43MCAPI void setPassengersChanged(::EntityContext& provider, bool haveChanged);
44
45MCAPI void
46setVehicle(::EntityContext& provider, ::StrictEntityContext vehicleContext, ::ActorUniqueID const& vehicleID);
47// NOLINTEND
48
49} // namespace ActorRiding
Definition EntityContext.h:17
Definition StrictEntityContext.h:14
Definition Vec3.h:10
Definition ActorUniqueID.h:10
Definition StateVectorComponent.h:8
Definition StrictActorIDEntityContextPair.h:9
Definition VehicleComponent.h:10