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
11
class
EntitySystems
;
12
class
StrictEntityContext
;
13
class
Vec3
;
14
struct
AABBShapeComponent
;
15
struct
ClientAcceptanceConfig
;
16
struct
ClientAcceptanceThresholdsComponent
;
17
struct
EntitySystemTickingMode
;
18
struct
MoveRequestComponent
;
19
struct
PassengerComponent
;
20
struct
ServerPlayerCurrentMovementComponent
;
21
struct
StateVectorComponent
;
22
struct
VehicleInputIntentComponent
;
23
// clang-format on
24
25
namespace
ClientAcceptanceSystem {
26
// functions
27
// NOLINTBEGIN
28
MCNAPI
void
adjustMotion(
29
::Vec3
const
& amount,
30
::ServerPlayerCurrentMovementComponent
const
& input,
31
::MoveRequestComponent
& moveRequest,
32
::AABBShapeComponent
& shape,
33
::ClientAcceptanceConfig
const
& config
34
);
35
36
MCNAPI
void
registerSystems(
::EntitySystems
& systems,
::EntitySystemTickingMode
const
& mode);
37
38
MCNAPI
void
tickClientAcceptance(
39
::ServerPlayerCurrentMovementComponent
const
& currentMove,
40
::StateVectorComponent
const
& stateVector,
41
::MoveRequestComponent
& moveRequest,
42
::ClientAcceptanceThresholdsComponent
& thresholds,
43
::AABBShapeComponent
& shape
44
);
45
46
MCNAPI
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
EntitySystems
Definition
EntitySystems.h:24
Optional
Definition
Optional.h:8
StrictEntityContext
Definition
StrictEntityContext.h:8
Vec3
Definition
Vec3.h:10
ViewT
Definition
ViewT.h:6
AABBShapeComponent
Definition
AABBShapeComponent.h:9
ClientAcceptanceConfig
Definition
ClientAcceptanceConfig.h:5
ClientAcceptanceThresholdsComponent
Definition
ClientAcceptanceThresholdsComponent.h:8
EntitySystemTickingMode
Definition
EntitySystemTickingMode.h:5
MoveRequestComponent
Definition
MoveRequestComponent.h:11
PassengerComponent
Definition
PassengerComponent.h:8
ServerPlayerCurrentMovementComponent
Definition
ServerPlayerCurrentMovementComponent.h:10
StateVectorComponent
Definition
StateVectorComponent.h:8
VehicleInputIntentComponent
Definition
VehicleInputIntentComponent.h:11
src-server
mc
entity
systems
ClientAcceptanceSystem.h
Generated on Tue Nov 25 2025 04:00:59 for LeviLamina by
1.12.0