LeviLamina
Loading...
Searching...
No Matches
GetAttachPositionUtility.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/deps/shared_types/legacy/actor/ActorLocation.h"
8
9// auto generated forward declare list
10// clang-format off
12class Vec3;
16struct OffsetsComponent;
19// clang-format on
20
21namespace GetAttachPositionUtility {
22// functions
23// NOLINTBEGIN
24MCAPI ::Vec3 _getBaseAttachPoint(
25 ::SharedTypes::Legacy::ActorLocation location,
26 ::Vec3 const& interpolatedPosition,
27 ::AABBShapeComponent const& aabbShapeComponent,
28 ::ActorRotationComponent const& actorRotationComponent,
29 ::OffsetsComponent const& offsetsComponent,
32 float actorHeadRotation,
33 float alpha
34);
35
36MCAPI ::std::optional<::Vec3> getAttachPosition(
37 ::StrictEntityContext const& entity,
38 ::GetAttachPositionViews const& views,
39 ::SharedTypes::Legacy::ActorLocation location,
40 ::Vec3 const& interpolatedPosition
41);
42
43MCAPI ::Vec3 getPassengerAttachPos(
44 ::StrictEntityContext const& entity,
45 ::GetAttachPositionViews const& views,
46 ::SharedTypes::Legacy::ActorLocation location,
47 float alpha
48);
49// NOLINTEND
50
51} // namespace GetAttachPositionUtility
Definition StrictEntityContext.h:10
Definition Vec3.h:10
Definition optional_ref.h:10
Definition AABBShapeComponent.h:11
Definition ActorRotationComponent.h:10
Definition GetAttachPositionViews.h:5
Definition OffsetsComponent.h:10
Definition PassengerRenderingRidingOffsetComponent.h:10
Definition VanillaOffsetComponent.h:10