Skip to content
LeviMC
English
AutoLightDark
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;
21namespace Util { struct HashStringHashGreater; }
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#ifdef LL_PLAT_C
71 MCNAPI ActorAnimationControllerStatePlayer(
72 ::HashedString const& friendlyName,
74 ::std::shared_ptr<::ActorAnimationControllerState> animationControllerState,
75 ::AnimationComponent& animationComponent,
76 ::ExpressionNode const& blendExpression,
77 ::std::set<::HashedString, ::Util::HashStringHashGreater>& animationControllerNameStack
78 );
79#endif
80 // NOLINTEND
81
82public:
83 // constructor thunks
84 // NOLINTBEGIN
85#ifdef LL_PLAT_C
86 MCNAPI void* $ctor(
87 ::HashedString const& friendlyName,
89 ::std::shared_ptr<::ActorAnimationControllerState> animationControllerState,
90 ::AnimationComponent& animationComponent,
91 ::ExpressionNode const& blendExpression,
92 ::std::set<::HashedString, ::Util::HashStringHashGreater>& animationControllerNameStack
93 );
94#endif
95 // NOLINTEND
96
97public:
98 // virtual function thunks
99 // NOLINTBEGIN
100 MCNAPI void $applyToPose(
101 ::ApplyAnimationContext const& applyContext,
102 ::RenderParams& renderParams,
103 ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation>>& destBoneOrientationsMap,
104 float blendWeight
105 );
106
107 MCNAPI void $resetAnimation();
108
109 MCNAPI void $bindParticleEffects(::std::unordered_map<::HashedString, ::HashedString> const&);
110
111 MCNAPI void $bindSoundEffects(::std::unordered_map<::HashedString, ::std::string> const&);
112
113 MCNAPI bool $hasAnimationFinished() const;
114
115 MCNAPI ::std::shared_ptr<::ActorAnimationPlayer> $findAnimation(::HashedString const& friendlyName);
116
117 MCNAPI ::ActorAnimationType $getAnimationType() const;
118
119 MCNAPI ::HashedString const& $getRawName() const;
120
121 MCNAPI void $visit(::AnimationVisitor&& dispatcher);
122
123
124 // NOLINTEND
125};
Definition ActorAnimationControllerPlayer.h:24
MCAPI void $bindSoundEffects(::std::unordered_map<::HashedString, ::std::string > const &)
MCAPI bool $hasAnimationFinished() const
MCAPI::HashedString const & $getRawName() const
MCAPI ::std::shared_ptr<::ActorAnimationPlayer > $findAnimation(::HashedString const &friendlyName)
MCAPI void $visit(::AnimationVisitor &&dispatcher)
MCAPI void $bindParticleEffects(::std::unordered_map<::HashedString, ::HashedString > const &)
MCAPI::ActorAnimationType $getAnimationType() const
MCAPI void $applyToPose(::ApplyAnimationContext const &applyContext, ::RenderParams &renderParams, ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation > > &destBoneOrientationsMap, float blendWeight)
Definition ActorAnimationControllerState.h:20
Definition ActorAnimationPlayer.h:20
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