LeviLamina
Loading...
Searching...
No Matches
MinecartMoveAlongRailSystem.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/Include.h"
10
11// auto generated forward declare list
12// clang-format off
15class Vec3;
21struct OffsetsComponent;
22struct PlayerComponent;
28struct VehicleComponent;
29// clang-format on
30
32public:
33 // static functions
34 // NOLINTBEGIN
36 ::std::vector<::StrictActorIDEntityContextPair> const& passengers,
37 ::Vec3& posDelta,
38 ::ViewT<
42 ::LocalMoveVelocityComponent const> playerView
43 );
44
45 MCNAPI static void _calculateRailMovementSystem(
47 ::RailMovementComponent const& railMovementComponent,
48 ::SnapOnRailComponent& snapOnRailComponent,
49 ::StateVectorComponent& stateVectorComponent,
51 ::ViewT<
55 ::LocalMoveVelocityComponent const> playerView,
57 );
58
61 ::SnapOnRailComponent const& snapOnRailComponent,
62 ::StateVectorComponent& stateVectorComponent,
64 ::IConstBlockSource const& constBlockSource
65 );
66
69 ::OffsetsComponent const& offsetsComponent,
70 ::StateVectorComponent const& stateVectorComponent,
71 ::FallDistanceComponent& fallDistanceComponent,
72 ::SnapOnRailComponent& snapOnRailComponent,
74 ::IConstBlockSource const& constBlockSource
75 );
76
78 ::ViewT<
84 ::ViewT<
88 ::LocalMoveVelocityComponent const> playerView,
90 );
91
92 MCNAPI static ::TickingSystemWithInfo createCleanupSystem();
93
94 MCNAPI static ::TickingSystemWithInfo createPostRailMovementPositionSystem();
95 // NOLINTEND
96};
Definition EntityModifier.h:6
Definition IConstBlockSource.h:24
Definition MinecartMoveAlongRailSystem.h:31
static MCAPI void _calculateRailMovementSystem(::StrictEntityContext const &context, ::RailMovementComponent const &railMovementComponent, ::SnapOnRailComponent &snapOnRailComponent, ::StateVectorComponent &stateVectorComponent, ::Optional<::VehicleComponent const > vehicleComponent, ::ViewT< ::StrictEntityContext, ::Include<::PlayerComponent >, ::ActorRotationComponent const, ::LocalMoveVelocityComponent const > playerView, ::EntityModifier<::MoveRequestComponent > mod)
static MCAPI void _postRailMovementCalculateMinecartPositionSystem(::StrictEntityContext const &context, ::SnapOnRailComponent const &snapOnRailComponent, ::StateVectorComponent &stateVectorComponent, ::EntityModifier<::ActorSetPositionRequestComponent > mod, ::IConstBlockSource const &constBlockSource)
static MCAPI ::TickingSystemWithInfo createCleanupSystem()
static MCAPI bool _calculateAllPassengersRailMovementInput(::std::vector<::StrictActorIDEntityContextPair > const &passengers, ::Vec3 &posDelta, ::ViewT< ::StrictEntityContext, ::Include<::PlayerComponent >, ::ActorRotationComponent const, ::LocalMoveVelocityComponent const > playerView)
static MCAPI ::TickingSystemWithInfo createPostRailMovementPositionSystem()
static MCAPI void _tickCalculateRailMovementSystem(::ViewT< ::StrictEntityContext, ::RailMovementComponent const, ::SnapOnRailComponent, ::StateVectorComponent, ::Optional<::VehicleComponent const > > view, ::ViewT< ::StrictEntityContext, ::Include<::PlayerComponent >, ::ActorRotationComponent const, ::LocalMoveVelocityComponent const > playerView, ::EntityModifier<::MoveRequestComponent > mod)
static MCAPI void _preRailMovementCalculateMinecartPositionSystem(::StrictEntityContext const &context, ::OffsetsComponent const &offsetsComponent, ::StateVectorComponent const &stateVectorComponent, ::FallDistanceComponent &fallDistanceComponent, ::SnapOnRailComponent &snapOnRailComponent, ::EntityModifier<::ActorSetPositionRequestComponent > mod, ::IConstBlockSource const &constBlockSource)
Definition Optional.h:8
Definition StrictEntityContext.h:8
Definition Vec3.h:10
Definition ViewT.h:6
Definition ActorRotationComponent.h:8
Definition ActorSetPositionRequestComponent.h:8
Definition FallDistanceComponent.h:5
Definition Include.h:6
Definition LocalMoveVelocityComponent.h:8
Definition MoveRequestComponent.h:11
Definition OffsetsComponent.h:8
Definition PlayerComponent.h:5
Definition RailMovementComponent.h:5
Definition SnapOnRailComponent.h:14
Definition StateVectorComponent.h:8
Definition StrictActorIDEntityContextPair.h:5
Definition TickingSystemWithInfo.h:13
Definition VehicleComponent.h:10
Definition context.h:5