LeviLamina
Loading...
Searching...
No Matches
ClientAcceptanceSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/Optional.h"
7#include "mc/deps/ecs/ViewT.h"
8
9// auto generated forward declare list
10// clang-format off
11class EntitySystems;
13class Vec3;
23// clang-format on
24
25namespace ClientAcceptanceSystem {
26// functions
27// NOLINTBEGIN
28MCNAPI void adjustMotion(
29 ::Vec3 const& amount,
30 ::ServerPlayerCurrentMovementComponent const& input,
31 ::MoveRequestComponent& moveRequest,
32 ::AABBShapeComponent& shape,
33 ::ClientAcceptanceConfig const& config
34);
35
36MCNAPI void registerSystems(::EntitySystems& systems, ::EntitySystemTickingMode const& mode);
37
38MCNAPI void tickClientAcceptance(
39 ::ServerPlayerCurrentMovementComponent const& currentMove,
40 ::StateVectorComponent const& stateVector,
41 ::MoveRequestComponent& moveRequest,
42 ::ClientAcceptanceThresholdsComponent& thresholds,
43 ::AABBShapeComponent& shape
44);
45
46MCNAPI void tickPlayerOrVehicle(
47 ::StrictEntityContext const& player,
48 ::ServerPlayerCurrentMovementComponent const& input,
49 ::ClientAcceptanceThresholdsComponent& acceptance,
50 ::Optional<::PassengerComponent const> passenger,
51 ::ViewT<::StrictEntityContext, ::MoveRequestComponent, ::AABBShapeComponent, ::StateVectorComponent const>
52 moveRequests,
53 ::ViewT<::StrictEntityContext, ::VehicleInputIntentComponent const>& vehicleView
54);
55// NOLINTEND
56
57} // namespace ClientAcceptanceSystem
Definition EntitySystems.h:25
Definition StrictEntityContext.h:8
Definition Vec3.h:10
Definition AABBShapeComponent.h:9
Definition ClientAcceptanceConfig.h:5
Definition ClientAcceptanceThresholdsComponent.h:8
Definition EntitySystemTickingMode.h:5
Definition MoveRequestComponent.h:11
Definition PassengerComponent.h:8
Definition ServerPlayerCurrentMovementComponent.h:10
Definition StateVectorComponent.h:8
Definition VehicleInputIntentComponent.h:11