LeviLamina
Loading...
Searching...
No Matches
HardcodedAnimationSystem.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/Include.h"
9
10// auto generated forward declare list
11// clang-format off
21struct MobFlagComponent;
24struct OnFireComponent;
27// clang-format on
28
29namespace HardcodedAnimationSystem {
30// functions
31// NOLINTBEGIN
32MCNAPI void
33addOffsetToMovementThisTick(::DynamicRenderOffsetComponent const& offset, ::ActorWalkAnimationComponent& walk);
34
35MCNAPI void computeMovementThisTick(::StateVectorComponent const& stateVector, ::ActorWalkAnimationComponent& walk);
36
37MCNAPI void doHardcodedAnimation(
38 ::StrictEntityContext const&,
39 ::MobAnimationComponent& mobAnim,
40 ::MobBodyRotationComponent const& bodyRot,
41 ::MobHurtTimeComponent const& mobHurtTime,
42 ::ActorWalkAnimationComponent& mobWalkAnimation,
43 ::ActorDataFlagComponent const& syncedActorData,
44 ::Optional<::BlazeFlagComponent const> blaze,
45 ::Optional<::LavaSlimeFlagComponent const> lavaSlime,
46 ::Optional<::OnFireComponent const> onFire,
47 ::Optional<::PassengerComponent const> passenger,
48 ::Optional<::MobIsJumpingFlagComponent const> isJumping
49);
50
51MCNAPI void tick(
52 ::ViewT<
53 ::StrictEntityContext,
54 ::Include<::ActorMovementTickNeededComponent>,
55 ::StateVectorComponent const,
56 ::ActorWalkAnimationComponent> speedView,
57 ::ViewT<
58 ::StrictEntityContext,
59 ::Include<::ActorMovementTickNeededComponent>,
60 ::DynamicRenderOffsetComponent const,
61 ::ActorWalkAnimationComponent> offsetView,
62 ::ViewT<
63 ::StrictEntityContext,
64 ::Include<::ActorMovementTickNeededComponent, ::MobFlagComponent>,
65 ::MobAnimationComponent,
66 ::MobBodyRotationComponent const,
67 ::MobHurtTimeComponent const,
68 ::ActorWalkAnimationComponent,
69 ::ActorDataFlagComponent const,
70 ::Optional<::BlazeFlagComponent const>,
71 ::Optional<::LavaSlimeFlagComponent const>,
72 ::Optional<::OnFireComponent const>,
73 ::Optional<::PassengerComponent const>,
74 ::Optional<::MobIsJumpingFlagComponent const>> view
75);
76// NOLINTEND
77
78} // namespace HardcodedAnimationSystem
Definition StrictEntityContext.h:8
Definition ActorDataFlagComponent.h:9
Definition ActorMovementTickNeededComponent.h:5
Definition ActorWalkAnimationComponent.h:5
Definition BlazeFlagComponent.h:5
Definition DynamicRenderOffsetComponent.h:8
Definition LavaSlimeFlagComponent.h:5
Definition MobAnimationComponent.h:8
Definition MobBodyRotationComponent.h:5
Definition MobFlagComponent.h:5
Definition MobHurtTimeComponent.h:8
Definition MobIsJumpingFlagComponent.h:5
Definition OnFireComponent.h:5
Definition PassengerComponent.h:8
Definition StateVectorComponent.h:8