LeviLamina
Loading...
Searching...
No Matches
ActorAnimationControllerPlayer.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/ActorAnimationControllerPtr.h"
8#include "mc/world/actor/animation/ActorAnimationPlayer.h"
9#include "mc/world/actor/animation/ActorAnimationType.h"
10
11// auto generated forward declare list
12// clang-format off
15class BoneOrientation;
16class ExpressionNode;
17class HashedString;
18class RenderParams;
19struct AnimationVisitor;
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 16, ::ActorAnimationControllerPtr> mAnimationControllerPtr;
27 ::ll::TypedStorage<4, 4, int> mCurrStateIndex;
28 ::ll::TypedStorage<4, 4, int> mLastStateIndex;
29 ::ll::TypedStorage<4, 4, int> mNextStateIndex;
30 ::ll::TypedStorage<4, 4, int> mBlendTransitionStateIndex;
31 ::ll::TypedStorage<4, 4, float> mBlendTransitionTime;
32 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ActorAnimationControllerStatePlayer>>>
33 mAnimationControllerStatePlayers;
34 ::ll::TypedStorage<8, 8, ::std::unordered_map<::HashedString, ::HashedString> const*> mActorParticleEffectMap;
35 ::ll::TypedStorage<8, 8, ::std::unordered_map<::HashedString, ::std::string> const*> mActorSoundEffectMap;
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
41
42public:
43 // virtual functions
44 // NOLINTBEGIN
45 // vIndex: 1
46 virtual void applyToPose(
47 ::RenderParams& renderParams,
48 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>>& destBoneOrientationsMap,
49 float blendWeight
50 ) /*override*/;
51
52 // vIndex: 2
53 virtual void resetAnimation() /*override*/;
54
55 // vIndex: 4
56 virtual void bindParticleEffects(
57 ::std::unordered_map<::HashedString, ::HashedString> const& actorParticleEffectMap
58 ) /*override*/;
59
60 // vIndex: 5
61 virtual void
62 bindSoundEffects(::std::unordered_map<::HashedString, ::std::string> const& actorSoundEffectMap) /*override*/;
63
64 // vIndex: 6
65 virtual bool hasAnimationFinished() const /*override*/;
66
67 // vIndex: 7
68 virtual ::std::shared_ptr<::ActorAnimationPlayer> findAnimation(::HashedString const& friendlyName) /*override*/;
69
70 // vIndex: 8
71 virtual ::ActorAnimationType getAnimationType() const /*override*/;
72
73 // vIndex: 9
74 virtual ::HashedString const& getRawName() const /*override*/;
75
76 // vIndex: 10
77 virtual void visit(::AnimationVisitor&& dispatcher) /*override*/;
78
79 // vIndex: 0
80 virtual ~ActorAnimationControllerPlayer() /*override*/ = default;
81 // NOLINTEND
82
83public:
84 // member functions
85 // NOLINTBEGIN
87 ::HashedString const& friendlyName,
88 ::ActorAnimationControllerPtr const& animationControllerPtr,
89 ::AnimationComponent& animationComponent,
90 ::ExpressionNode const& blendExpression,
91 ::std::set<::HashedString, ::std::hash<::HashedString>>& animationControllerNameStack
92 );
93
94 MCAPI void applyStateAnimationToPose(
95 ::RenderParams& renderParams,
96 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>>& destBoneOrientationsMap,
97 float blendWeight
98 );
99
100 MCAPI void blendViaShortestPath(
101 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>>& destBoneOrientationsMap,
102 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>> const&
103 blendOutBoneOrientationsMap,
104 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>> const&
105 blendInBoneOrientationsMap,
106 float blendInWeight,
107 float blendWeight
108 );
109 // NOLINTEND
110
111public:
112 // constructor thunks
113 // NOLINTBEGIN
114 MCAPI void* $ctor(
115 ::HashedString const& friendlyName,
116 ::ActorAnimationControllerPtr const& animationControllerPtr,
117 ::AnimationComponent& animationComponent,
118 ::ExpressionNode const& blendExpression,
119 ::std::set<::HashedString, ::std::hash<::HashedString>>& animationControllerNameStack
120 );
121 // NOLINTEND
122
123public:
124 // virtual function thunks
125 // NOLINTBEGIN
126 MCAPI void $applyToPose(
127 ::RenderParams& renderParams,
128 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>>& destBoneOrientationsMap,
129 float blendWeight
130 );
131
132 MCAPI void $resetAnimation();
133
134 MCAPI void $bindParticleEffects(::std::unordered_map<::HashedString, ::HashedString> const& actorParticleEffectMap);
135
136 MCAPI void $bindSoundEffects(::std::unordered_map<::HashedString, ::std::string> const& actorSoundEffectMap);
137
138 MCAPI bool $hasAnimationFinished() const;
139
140 MCAPI ::std::shared_ptr<::ActorAnimationPlayer> $findAnimation(::HashedString const& friendlyName);
141
142 MCFOLD ::ActorAnimationType $getAnimationType() const;
143
144 MCAPI ::HashedString const& $getRawName() const;
145
146 MCAPI void $visit(::AnimationVisitor&& dispatcher);
147 // NOLINTEND
148
149public:
150 // vftables
151 // NOLINTBEGIN
152 MCNAPI static void** $vftable();
153 // NOLINTEND
154};
Definition ActorAnimationControllerPlayer.h:22
static MCAPI void ** $vftable()
Definition ActorAnimationControllerPtr.h:10
Definition ActorAnimationControllerStatePlayer.h:22
Definition ActorAnimationPlayer.h:19
Definition AnimationComponent.h:26
Definition BoneOrientation.h:19
Definition ExpressionNode.h:28
Definition HashedString.h:5
Definition RenderParams.h:30
Definition AnimationVisitor.h:16