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