3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/ecs/Optional.h"
7#include "mc/deps/ecs/ViewT.h"
8#include "mc/deps/ecs/strict/EntityModifier.h"
9#include "mc/deps/ecs/strict/Exclude.h"
10#include "mc/deps/ecs/strict/Include.h"
25namespace LendReplayStateSystem {
28MCNAPI
void _addReplayStateIfNoLongerRidingClientPredictedVehicle(
29 ::StrictEntityContext
const& player,
30 ::PassengerComponent
const& passengerComponent,
31 ::std::function<::ReplayStateComponent()>
const& createReplayState,
32 ::EntityModifier<::ReplayStateComponent, ::ReplayStateLenderFlagComponent>& mod,
33 ::ViewT<::StrictEntityContext, ::VehicleInputIntentComponent const>& vehicleView
36MCNAPI
void _cleanupLingeringReplayStateComponentsSystem(
38 type_list<::Include<::ActorMovementTickNeededComponent, ::ReplayStateComponent>, ::Exclude<::PlayerComponent>>,
39 ::StrictEntityContext
const& entity,
40 ::Optional<::VehicleInputIntentComponent const> vehicleInputIntent,
41 ::ViewT<::StrictEntityContext, ::ReplayStateComponent> passengerView,
42 ::EntityModifier<::ReplayStateComponent, ::ReplayStateLenderFlagComponent>& mod
45MCNAPI
void _createAndAddReplayStateComponent(
46 ::StrictEntityContext
const& entity,
47 ::std::function<::ReplayStateComponent()>
const& createReplayState,
48 ::EntityModifier<::ReplayStateComponent, ::ReplayStateLenderFlagComponent>& mod
51MCNAPI
void _lendReplayStateToVehicle(
52 ::StrictEntityContext
const& vehicle,
53 ::VehicleInputIntentComponent
const& vehicleInputIntentComponent,
54 ::ViewT<::StrictEntityContext, ::ReplayStateComponent>& passengerView,
55 ::std::function<::ReplayStateComponent()>
const& createReplayState,
56 ::EntityModifier<::ReplayStateComponent, ::ReplayStateLenderFlagComponent>& mod
59MCNAPI ::TickingSystemWithInfo createAddBackToPlayerSystem(
bool isClientSide);
61MCNAPI ::TickingSystemWithInfo createLendToVehicleSystem(
bool isClientSide);
63MCNAPI
void registerSystems(::EntitySystems& systemRegistry,
bool isClientSide);
Definition EntitySystems.h:25
Definition ReplayStateComponent.h:18
Definition StrictEntityContext.h:8
Definition ActorMovementTickNeededComponent.h:5
Definition PassengerComponent.h:8
Definition PlayerComponent.h:5
Definition ReplayStateLenderFlagComponent.h:5
Definition TickingSystemWithInfo.h:13