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
21class ActorAnimationControllerState : public ::ActorAnimationBase {
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 // prevent constructor by default
38 ActorAnimationControllerState();
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI explicit ActorAnimationControllerState(::HashedString const& name);
44
45#ifdef LL_PLAT_C
46 MCAPI void addTransition(
47 ::std::string const& stateName,
48 ::std::string const& expression,
49 ::MolangVersion molangVersion,
50 bool createEvenIfAlreadyExists
51 );
52#endif
53
54 MCAPI ::StateAnimationVariable& addVariable(::std::string const& variableName);
55
56 MCAPI ~ActorAnimationControllerState();
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(::HashedString const& name);
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCAPI void $dtor();
69 // NOLINTEND
70};
Definition ActorAnimationBase.h:5
Definition ActorAnimationControllerStateTransition.h:8
Definition ActorAnimationEvent.h:17
Definition ActorParticleEffect.h:9
Definition ActorSoundEffect.h:8
Definition AnimationValueCurveKeyFrame.h:5
Definition ExpressionNode.h:34
Definition HashedString.h:5
Definition StateAnimationVariable.h:15