LeviLamina
Loading...
Searching...
No Matches
LendReplayStateSystem.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#include "mc/deps/ecs/strict/EntityModifier.h"
9#include "mc/deps/ecs/strict/Exclude.h"
10#include "mc/deps/ecs/strict/Include.h"
11
12// auto generated forward declare list
13// clang-format off
14class EntitySystems;
19struct PlayerComponent;
23// clang-format on
24
25namespace LendReplayStateSystem {
26// functions
27// NOLINTBEGIN
28MCAPI void _addReplayStateIfNoLongerRidingClientPredictedVehicle(
29 ::StrictEntityContext const& player,
30 ::PassengerComponent const& passengerComponent,
31 ::std::function<::ReplayStateComponent()> const& createReplayState,
34);
35
36MCAPI void _cleanupLingeringReplayStateComponentsSystem(
37 ::entt::
39 ::StrictEntityContext const& entity,
43);
44
45MCAPI void _createAndAddReplayStateComponent(
46 ::StrictEntityContext const& entity,
47 ::std::function<::ReplayStateComponent()> const& createReplayState,
49);
50
51MCAPI void _lendReplayStateToVehicle(
52 ::StrictEntityContext const& vehicle,
53 ::VehicleInputIntentComponent const& vehicleInputIntentComponent,
55 ::std::function<::ReplayStateComponent()> const& createReplayState,
57);
58
59MCAPI ::TickingSystemWithInfo createAddBackToPlayerSystem(bool isClientSide);
60
61MCAPI ::TickingSystemWithInfo createLendToVehicleSystem(bool isClientSide);
62
63MCAPI void registerSystems(::EntitySystems& systemRegistry, bool isClientSide);
64// NOLINTEND
65
66} // namespace LendReplayStateSystem
Definition EntityModifier.h:6
Definition EntitySystems.h:24
Definition Optional.h:8
Definition ReplayStateComponent.h:17
Definition StrictEntityContext.h:10
Definition ViewT.h:6
Definition ActorMovementTickNeededComponent.h:5
Definition Exclude.h:6
Definition Include.h:6
Definition PassengerComponent.h:10
Definition PlayerComponent.h:5
Definition ReplayStateLenderFlagComponent.h:5
Definition TickingSystemWithInfo.h:11
Definition VehicleInputIntentComponent.h:12