LeviLamina
Loading...
Searching...
No Matches
ActorAnimationControllerState.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/molang/MolangVersion.h"
8#include "mc/world/actor/animation/ActorAnimationBase.h"
9
10// auto generated forward declare list
11// clang-format off
17class ExpressionNode;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 48, ::HashedString> mName;
26 ::ll::TypedStorage<8, 24, ::std::vector<::StateAnimationVariable>> mVariables;
27 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::HashedString, ::ExpressionNode>>> mAnimations;
28 ::ll::TypedStorage<8, 24, ::std::vector<::ActorParticleEffect>> mParticleEffects;
29 ::ll::TypedStorage<8, 48, ::std::vector<::ActorAnimationEvent>[2]> mEvents;
30 ::ll::TypedStorage<8, 24, ::std::vector<::ActorAnimationControllerStateTransition>> mTransitions;
31 ::ll::TypedStorage<8, 24, ::std::vector<::ActorSoundEffect>> mSoundEffects;
32 ::ll::TypedStorage<1, 1, bool> mBlendViaShortestPath;
33 ::ll::TypedStorage<8, 24, ::std::vector<::AnimationValueCurveKeyFrame>> mBlendTransitionKeyFrames;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI void addAnimation(::HashedString const& name);
40
41 MCAPI void addBlendTransitionKeyFrame(float time, float blendValue);
42
43#ifdef LL_PLAT_C
44 MCAPI void addTransition(
45 ::std::string const& stateName,
46 ::std::string const& expression,
47 ::MolangVersion molangVersion,
48 bool createEvenIfAlreadyExists
49 );
50#endif
51
52 MCAPI ::StateAnimationVariable& addVariable(::std::string const& variableName);
53
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCAPI void $dtor();
61 // NOLINTEND
62};
Definition ActorAnimationBase.h:5
Definition ActorAnimationControllerStateTransition.h:9
Definition ActorAnimationControllerState.h:21
Definition ActorAnimationEvent.h:17
Definition ActorParticleEffect.h:9
Definition ActorSoundEffect.h:8
Definition AnimationValueCurveKeyFrame.h:5
Definition ExpressionNode.h:36
Definition HashedString.h:5
Definition StateAnimationVariable.h:15