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;
18class RenderParams;
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 48, ::HashedString> mName;
27 ::ll::TypedStorage<8, 24, ::std::vector<::StateAnimationVariable>> mVariables;
28 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::HashedString, ::ExpressionNode>>> mAnimations;
29 ::ll::TypedStorage<8, 24, ::std::vector<::ActorParticleEffect>> mParticleEffects;
30 ::ll::TypedStorage<8, 48, ::std::vector<::ActorAnimationEvent>[2]> mEvents;
31 ::ll::TypedStorage<8, 24, ::std::vector<::ActorAnimationControllerStateTransition>> mTransitions;
32 ::ll::TypedStorage<8, 24, ::std::vector<::ActorSoundEffect>> mSoundEffects;
33 ::ll::TypedStorage<1, 1, bool> mBlendViaShortestPath;
34 ::ll::TypedStorage<8, 24, ::std::vector<::AnimationValueCurveKeyFrame>> mBlendTransitionKeyFrames;
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI explicit ActorAnimationControllerState(::HashedString const& name);
45
46 MCAPI void addTransition(
47 ::std::string const& stateName,
48 ::std::string const& expression,
49 ::MolangVersion molangVersion,
50 bool createEvenIfAlreadyExists
51 );
52
53 MCAPI ::StateAnimationVariable& addVariable(::std::string const& variableName);
54
55 MCAPI void setVariables(::RenderParams& renderParams) const;
56
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::HashedString const& name);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCAPI void $dtor();
70 // NOLINTEND
71};
Definition ActorAnimationBase.h:5
Definition ActorAnimationControllerStateTransition.h:8
Definition ActorAnimationControllerState.h:22
Definition ActorAnimationEvent.h:17
Definition ActorParticleEffect.h:9
Definition ActorSoundEffect.h:8
Definition AnimationValueCurveKeyFrame.h:5
Definition ExpressionNode.h:28
Definition HashedString.h:5
Definition RenderParams.h:30
Definition StateAnimationVariable.h:14