LeviLamina
Loading...
Searching...
No Matches
ServerPlayerMovementCorrectionSystem.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
Actor
;
12
class
ActorOwnerComponent
;
13
class
PlayerAuthInputPacket
;
14
class
ReplayStateComponent
;
15
class
StrictEntityContext
;
16
class
UserEntityIdentifierComponent
;
17
struct
ActorRotationComponent
;
18
struct
BoatMovementComponent
;
19
struct
PassengerComponent
;
20
struct
ServerPlayerCurrentMovementComponent
;
21
struct
ServerPlayerMovementComponent
;
22
struct
StateVectorComponent
;
23
struct
TickingSystemWithInfo
;
24
// clang-format on
25
26
namespace
ServerPlayerMovementCorrectionSystem {
27
// functions
28
// NOLINTBEGIN
29
MCAPI
void
_afterMovementSimulation(
30
::UserEntityIdentifierComponent
const
& userIdentifier,
31
::Actor
& actor,
32
::PlayerAuthInputPacket
const
& packet,
33
::ReplayStateComponent
& replay,
34
::ActorRotationComponent
const
* actorRotation,
35
::ServerPlayerMovementComponent
& serverPlayerMovement,
36
::StateVectorComponent
& stateVector,
37
::BoatMovementComponent
const
* boat
38
);
39
40
MCAPI
void
_tickServerPlayerMovementCorrectionSystem(
41
::StrictEntityContext
const
& player,
42
::ServerPlayerCurrentMovementComponent
const
& serverPlayerCurrentMovementComponent,
43
::UserEntityIdentifierComponent
const
& userIdentifierComponent,
44
::ServerPlayerMovementComponent
& serverPlayerMovementComponent,
45
::Optional<::PassengerComponent const>
passengerComponent,
46
::StateVectorComponent
& playerStateVector,
47
::ViewT
<
48
::StrictEntityContext
,
49
::ActorRotationComponent
const
,
50
::ActorOwnerComponent
,
51
::ReplayStateComponent
,
52
::StateVectorComponent
,
53
::Optional<::BoatMovementComponent const>
>
const
& replayableEntityView
54
);
55
56
MCAPI ::TickingSystemWithInfo createSystem();
57
// NOLINTEND
58
59
}
// namespace ServerPlayerMovementCorrectionSystem
ActorOwnerComponent
Definition
ActorOwnerComponent.h:10
Actor
Definition
Actor.h:104
Optional
Definition
Optional.h:8
PlayerAuthInputPacket
Definition
PlayerAuthInputPacket.h:27
ReplayStateComponent
Definition
ReplayStateComponent.h:17
StrictEntityContext
Definition
StrictEntityContext.h:10
UserEntityIdentifierComponent
Definition
UserEntityIdentifierComponent.h:19
ViewT
Definition
ViewT.h:6
ActorRotationComponent
Definition
ActorRotationComponent.h:10
BoatMovementComponent
Definition
BoatMovementComponent.h:5
PassengerComponent
Definition
PassengerComponent.h:10
ServerPlayerCurrentMovementComponent
Definition
ServerPlayerCurrentMovementComponent.h:12
ServerPlayerMovementComponent
Definition
ServerPlayerMovementComponent.h:15
StateVectorComponent
Definition
StateVectorComponent.h:10
TickingSystemWithInfo
Definition
TickingSystemWithInfo.h:11
src
mc
entity
systems
ServerPlayerMovementCorrectionSystem.h
Generated on Sat Apr 26 2025 05:55:37 for LeviLamina by
1.12.0