LeviLamina
Loading...
Searching...
No Matches
ActorAnimationControllerStatePlayer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/SkeletalHierarchyIndex.h"
7#include "mc/world/actor/animation/ActorAnimationPlayer.h"
8#include "mc/world/actor/animation/ActorAnimationType.h"
9
10// auto generated forward declare list
11// clang-format off
17class BoneOrientation;
18class ExpressionNode;
19class HashedString;
20class RenderParams;
21struct AnimationVisitor;
22// clang-format on
23
24class ActorAnimationControllerStatePlayer : public ::ActorAnimationPlayer {
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 8, ::ActorAnimationControllerPlayer&> mOwner;
29 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorAnimationControllerState>> mControllerState;
30 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ActorAnimationPlayer>>> mAnimationPlayers;
31 ::ll::TypedStorage<4, 4, float> mStateTime;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 ActorAnimationControllerStatePlayer& operator=(ActorAnimationControllerStatePlayer const&);
37 ActorAnimationControllerStatePlayer(ActorAnimationControllerStatePlayer const&);
38 ActorAnimationControllerStatePlayer();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual void applyToPose(
44 ::ApplyAnimationContext const& applyContext,
45 ::RenderParams& renderParams,
46 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>>& destBoneOrientationsMap,
47 float blendWeight
48 ) /*override*/;
49
50 virtual void resetAnimation() /*override*/;
51
52 virtual void bindParticleEffects(::std::unordered_map<::HashedString, ::HashedString> const&) /*override*/;
53
54 virtual void
55 bindSoundEffects(::std::unordered_map<::HashedString, ::std::string> const& actorSoundEffectMap) /*override*/;
56
57 virtual bool hasAnimationFinished() const /*override*/;
58
59 virtual ::std::shared_ptr<::ActorAnimationPlayer> findAnimation(::HashedString const& friendlyName) /*override*/;
60
61 virtual ::ActorAnimationType getAnimationType() const /*override*/;
62
63 virtual ::HashedString const& getRawName() const /*override*/;
64
65 virtual void visit(::AnimationVisitor&& dispatcher) /*override*/;
66
67 virtual ~ActorAnimationControllerStatePlayer() /*override*/ = default;
68 // NOLINTEND
69
70public:
71 // member functions
72 // NOLINTBEGIN
73 MCAPI ActorAnimationControllerStatePlayer(
74 ::HashedString const& friendlyName,
76 ::std::shared_ptr<::ActorAnimationControllerState> animationControllerState,
77 ::AnimationComponent& animationComponent,
78 ::ExpressionNode const& blendExpression,
79 ::std::set<::HashedString, ::std::hash<::HashedString>>& animationControllerNameStack
80 );
81
82#ifdef LL_PLAT_C
83 MCAPI void addAnimation(
84 ::AnimationComponent& animationComponent,
85 ::HashedString const& friendlyName,
87 );
88#endif
89 // NOLINTEND
90
91public:
92 // constructor thunks
93 // NOLINTBEGIN
94 MCAPI void* $ctor(
95 ::HashedString const& friendlyName,
97 ::std::shared_ptr<::ActorAnimationControllerState> animationControllerState,
98 ::AnimationComponent& animationComponent,
99 ::ExpressionNode const& blendExpression,
100 ::std::set<::HashedString, ::std::hash<::HashedString>>& animationControllerNameStack
101 );
102 // NOLINTEND
103
104public:
105 // virtual function thunks
106 // NOLINTBEGIN
107 MCAPI void $applyToPose(
108 ::ApplyAnimationContext const& applyContext,
109 ::RenderParams& renderParams,
110 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>>& destBoneOrientationsMap,
111 float blendWeight
112 );
113
114 MCAPI void $resetAnimation();
115
116 MCFOLD void $bindParticleEffects(::std::unordered_map<::HashedString, ::HashedString> const&);
117
118 MCFOLD void $bindSoundEffects(::std::unordered_map<::HashedString, ::std::string> const& actorSoundEffectMap);
119
120 MCFOLD bool $hasAnimationFinished() const;
121
122 MCAPI ::std::shared_ptr<::ActorAnimationPlayer> $findAnimation(::HashedString const& friendlyName);
123
124 MCFOLD ::ActorAnimationType $getAnimationType() const;
125
126 MCFOLD ::HashedString const& $getRawName() const;
127
128 MCAPI void $visit(::AnimationVisitor&& dispatcher);
129
130
131 // NOLINTEND
132
133public:
134 // vftables
135 // NOLINTBEGIN
136 MCNAPI static void** $vftable();
137 // NOLINTEND
138};
Definition ActorAnimationControllerPlayer.h:23
static MCAPI void ** $vftable()
Definition ActorAnimationControllerState.h:21
Definition ActorSkeletalAnimationPtr.h:10
Definition AnimationComponent.h:36
Definition ApplyAnimationContext.h:16
Definition BoneOrientation.h:19
Definition ExpressionNode.h:34
Definition HashedString.h:5
Definition RenderParams.h:30
Definition AnimationVisitor.h:16