LeviLamina
Loading...
Searching...
No Matches
MoveSpeedCapSystemImpl.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/Exclude.h"
9#include "mc/deps/ecs/strict/Include.h"
10
11// auto generated forward declare list
12// clang-format off
19struct MobFlagComponent;
24struct PlayerComponent;
27// clang-format on
28
29namespace VanillaSystems::MoveSpeedCapSystemImpl {
30// functions
31// NOLINTBEGIN
32MCNAPI void singleTick(
33 ::StrictEntityContext& entity,
34 ::ViewT<::StrictEntityContext, ::MoveRequestComponent> view,
35 ::ViewT<::StrictEntityContext, ::ActorDataFlagComponent const, ::Optional<::ActorIsImmobileFlagComponent const>>
36 actorView,
37 ::ViewT<
38 ::StrictEntityContext,
39 ::Include<::MobFlagComponent>,
40 ::MovementAttributesComponent const,
41 ::Optional<::ActorIsKnockedBackOnDeathFlagComponent const>> mobView,
42 ::ViewT<
43 ::StrictEntityContext,
44 ::ActorDataFlagComponent const,
45 ::Optional<::VehicleInputIntentComponent const>,
46 ::Include<::OnGroundFlagComponent, ::HorseFlagComponent>,
47 ::Exclude<::MobAllowStandSlidingFlagComponent, ::MobIsJumpingFlagComponent>> horseView,
48 ::ViewT<::StrictEntityContext, ::Include<::HorseFlagComponent>> onlyHorseView,
49 ::ViewT<::StrictEntityContext, ::PlayerIsSleepingFlagComponent const, ::PlayerComponent const> playerView
50);
51
52MCNAPI void tickMoveSpeedCap(
53 ::StrictEntityContext& context,
54 ::MoveRequestComponent& moveRequestComponent,
55 ::ViewT<::StrictEntityContext, ::ActorDataFlagComponent const, ::Optional<::ActorIsImmobileFlagComponent const>>
56 actorView,
57 ::ViewT<
58 ::StrictEntityContext,
59 ::Include<::MobFlagComponent>,
60 ::MovementAttributesComponent const,
61 ::Optional<::ActorIsKnockedBackOnDeathFlagComponent const>> mobView,
62 ::ViewT<
63 ::StrictEntityContext,
64 ::ActorDataFlagComponent const,
65 ::Optional<::VehicleInputIntentComponent const>,
66 ::Include<::OnGroundFlagComponent, ::HorseFlagComponent>,
67 ::Exclude<::MobAllowStandSlidingFlagComponent, ::MobIsJumpingFlagComponent>> horseView,
68 ::ViewT<::StrictEntityContext, ::Include<::HorseFlagComponent>> onlyHorseView,
69 ::ViewT<::StrictEntityContext, ::PlayerIsSleepingFlagComponent const, ::PlayerComponent const> playerView
70);
71// NOLINTEND
72
73} // namespace VanillaSystems::MoveSpeedCapSystemImpl
Definition StrictEntityContext.h:8
Definition ActorDataFlagComponent.h:9
Definition ActorIsImmobileFlagComponent.h:5
Definition ActorIsKnockedBackOnDeathFlagComponent.h:5
Definition HorseFlagComponent.h:5
Definition MobAllowStandSlidingFlagComponent.h:5
Definition MobFlagComponent.h:5
Definition MobIsJumpingFlagComponent.h:5
Definition MoveRequestComponent.h:11
Definition MovementAttributesComponent.h:5
Definition OnGroundFlagComponent.h:5
Definition PlayerComponent.h:5
Definition PlayerIsSleepingFlagComponent.h:5
Definition VehicleInputIntentComponent.h:11