LeviLamina
Loading...
Searching...
No Matches
InterpolatedRidingPositionCalculationHelper.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/ViewT.h"
7
#include "mc/deps/ecs/strict/Include.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
StrictEntityContext
;
12
class
Vec3
;
13
struct
ActorDataFlagComponent
;
14
struct
ActorDataSeatOffsetComponent
;
15
struct
ActorRotationComponent
;
16
struct
HorseFlagComponent
;
17
struct
MobBodyRotationComponent
;
18
struct
MobFlagComponent
;
19
struct
RenderRotationComponent
;
20
struct
StandAnimationComponent
;
21
struct
StateVectorComponent
;
22
// clang-format on
23
24
struct
InterpolatedRidingPositionCalculationHelper
{
25
public
:
26
// static functions
27
// NOLINTBEGIN
28
MCAPI static ::Vec3 getHorseInterpolatedRidingOffset(
29
::StrictEntityContext
const
& entity,
30
::ViewT
<
::StrictEntityContext
,
::Include<::HorseFlagComponent>
,
::StandAnimationComponent
const
>
const
& horses,
31
::ViewT
<
32
::StrictEntityContext
,
33
::ActorRotationComponent
const
,
34
::RenderRotationComponent
const
,
35
::StateVectorComponent
const
,
36
::ActorDataFlagComponent
const
,
37
::ActorDataSeatOffsetComponent
const
>
const
& commonData,
38
float
alpha
39
);
40
41
MCAPI
static
float
getInterpolatedBodyRot(
42
::StrictEntityContext
const
& entity,
43
::ViewT
<
44
::StrictEntityContext
,
45
::ActorRotationComponent
const
,
46
::RenderRotationComponent
const
,
47
::StateVectorComponent
const
,
48
::ActorDataFlagComponent
const
,
49
::ActorDataSeatOffsetComponent
const
>
const
& commonData,
50
::ViewT
<
::StrictEntityContext
,
::Include<::MobFlagComponent>
,
::MobBodyRotationComponent
const
>
const
& mobs,
51
float
alpha
52
);
53
// NOLINTEND
54
};
StrictEntityContext
Definition
StrictEntityContext.h:10
Vec3
Definition
Vec3.h:10
ViewT
Definition
ViewT.h:6
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:8
ActorDataSeatOffsetComponent
Definition
ActorDataSeatOffsetComponent.h:8
ActorRotationComponent
Definition
ActorRotationComponent.h:10
HorseFlagComponent
Definition
HorseFlagComponent.h:5
Include
Definition
Include.h:6
InterpolatedRidingPositionCalculationHelper
Definition
InterpolatedRidingPositionCalculationHelper.h:24
MobBodyRotationComponent
Definition
MobBodyRotationComponent.h:5
MobFlagComponent
Definition
MobFlagComponent.h:5
RenderRotationComponent
Definition
RenderRotationComponent.h:10
StandAnimationComponent
Definition
StandAnimationComponent.h:5
StateVectorComponent
Definition
StateVectorComponent.h:10
src
mc
entity
utilities
InterpolatedRidingPositionCalculationHelper.h
Generated on Sat Apr 26 2025 05:55:38 for LeviLamina by
1.12.0