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 bindSoundEffects(::std::unordered_map<::HashedString, ::std::string> const&) /*override*/;
55
56 virtual bool hasAnimationFinished() const /*override*/;
57
58 virtual ::std::shared_ptr<::ActorAnimationPlayer> findAnimation(::HashedString const& friendlyName) /*override*/;
59
60 virtual ::ActorAnimationType getAnimationType() const /*override*/;
61
62 virtual ::HashedString const& getRawName() const /*override*/;
63
64 virtual void visit(::AnimationVisitor&& dispatcher) /*override*/;
65 // NOLINTEND
66
67public:
68 // member functions
69 // NOLINTBEGIN
70 MCAPI ActorAnimationControllerStatePlayer(
71 ::HashedString const& friendlyName,
73 ::std::shared_ptr<::ActorAnimationControllerState> animationControllerState,
74 ::AnimationComponent& animationComponent,
75 ::ExpressionNode const& blendExpression,
76 ::std::set<::HashedString, ::std::hash<::HashedString>>& animationControllerNameStack
77 );
78
79#ifdef LL_PLAT_C
80 MCAPI void addAnimation(
81 ::AnimationComponent& animationComponent,
82 ::HashedString const& friendlyName,
84 );
85#endif
86
87 MCAPI bool allAnimationsFinished() const;
88
89 MCAPI bool anyAnimationsFinished() const;
90
91 MCFOLD float getStateTime() const;
92 // NOLINTEND
93
94public:
95 // constructor thunks
96 // NOLINTBEGIN
97 MCAPI void* $ctor(
98 ::HashedString const& friendlyName,
100 ::std::shared_ptr<::ActorAnimationControllerState> animationControllerState,
101 ::AnimationComponent& animationComponent,
102 ::ExpressionNode const& blendExpression,
103 ::std::set<::HashedString, ::std::hash<::HashedString>>& animationControllerNameStack
104 );
105 // NOLINTEND
106
107public:
108 // virtual function thunks
109 // NOLINTBEGIN
110 MCAPI void $applyToPose(
111 ::ApplyAnimationContext const& applyContext,
112 ::RenderParams& renderParams,
113 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>>& destBoneOrientationsMap,
114 float blendWeight
115 );
116
117 MCAPI void $resetAnimation();
118
119 MCFOLD void $bindParticleEffects(::std::unordered_map<::HashedString, ::HashedString> const&);
120
121 MCFOLD void $bindSoundEffects(::std::unordered_map<::HashedString, ::std::string> const&);
122
123 MCFOLD bool $hasAnimationFinished() const;
124
125 MCAPI ::std::shared_ptr<::ActorAnimationPlayer> $findAnimation(::HashedString const& friendlyName);
126
127 MCFOLD ::ActorAnimationType $getAnimationType() const;
128
129 MCFOLD ::HashedString const& $getRawName() const;
130
131 MCAPI void $visit(::AnimationVisitor&& dispatcher);
132
133
134 // NOLINTEND
135
136public:
137 // vftables
138 // NOLINTBEGIN
139 MCNAPI static void** $vftable();
140 // NOLINTEND
141};
Definition ActorAnimationControllerPlayer.h:23
static MCAPI void ** $vftable()
Definition ActorAnimationControllerState.h:21
Definition ActorAnimationPlayer.h:20
Definition ActorSkeletalAnimationPtr.h:16
Definition AnimationComponent.h:37
Definition ApplyAnimationContext.h:16
Definition BoneOrientation.h:16
Definition ExpressionNode.h:36
Definition HashedString.h:5
Definition RenderParams.h:30
Definition AnimationVisitor.h:16