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;
22namespace Util { struct HashStringHashGreater; }
23// clang-format on
24
25class ActorAnimationControllerStatePlayer : public ::ActorAnimationPlayer {
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 8, ::ActorAnimationControllerPlayer&> mOwner;
30 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorAnimationControllerState>> mControllerState;
31 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ActorAnimationPlayer>>> mAnimationPlayers;
32 ::ll::TypedStorage<4, 4, float> mStateTime;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 ActorAnimationControllerStatePlayer& operator=(ActorAnimationControllerStatePlayer const&);
38 ActorAnimationControllerStatePlayer(ActorAnimationControllerStatePlayer const&);
39 ActorAnimationControllerStatePlayer();
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 virtual void applyToPose(
45 ::ApplyAnimationContext const& applyContext,
46 ::RenderParams& renderParams,
47 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>>& destBoneOrientationsMap,
48 float blendWeight
49 ) /*override*/;
50
51 virtual void resetAnimation() /*override*/;
52
53 virtual void bindParticleEffects(::std::unordered_map<::HashedString, ::HashedString> const&) /*override*/;
54
55 virtual void bindSoundEffects(::std::unordered_map<::HashedString, ::std::string> const&) /*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 // NOLINTEND
67
68public:
69 // member functions
70 // NOLINTBEGIN
71#ifdef LL_PLAT_C
72 MCAPI ActorAnimationControllerStatePlayer(
73 ::HashedString const& friendlyName,
75 ::std::shared_ptr<::ActorAnimationControllerState> animationControllerState,
76 ::AnimationComponent& animationComponent,
77 ::ExpressionNode const& blendExpression,
78 ::std::set<::HashedString, ::Util::HashStringHashGreater>& animationControllerNameStack
79 );
80
81 MCAPI void addAnimation(
82 ::AnimationComponent& animationComponent,
83 ::HashedString const& friendlyName,
85 );
86#endif
87 // NOLINTEND
88
89public:
90 // constructor thunks
91 // NOLINTBEGIN
92#ifdef LL_PLAT_C
93 MCAPI void* $ctor(
94 ::HashedString const& friendlyName,
96 ::std::shared_ptr<::ActorAnimationControllerState> animationControllerState,
97 ::AnimationComponent& animationComponent,
98 ::ExpressionNode const& blendExpression,
99 ::std::set<::HashedString, ::Util::HashStringHashGreater>& animationControllerNameStack
100 );
101#endif
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&);
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};
Definition ActorAnimationControllerPlayer.h:24
Definition ActorAnimationControllerState.h:21
Definition ActorAnimationPlayer.h:20
Definition ActorSkeletalAnimationPtr.h:15
Definition AnimationComponent.h:38
Definition ApplyAnimationContext.h:16
Definition BoneOrientation.h:16
Definition ExpressionNode.h:35
Definition HashedString.h:5
Definition RenderParams.h:29
Definition AnimationVisitor.h:16
Definition HashStringHashGreater.h:7