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 MCAPI_C void addTransition(
46 ::std::string const& stateName,
47 ::std::string const& expression,
48 ::MolangVersion molangVersion,
49 bool createEvenIfAlreadyExists
50 );
51
52 MCAPI ::StateAnimationVariable& addVariable(::std::string const& variableName);
53
54 MCAPI ~ActorAnimationControllerState();
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(::HashedString const& name);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCAPI void $dtor();
67 // NOLINTEND
68};
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:33
Definition HashedString.h:5
Definition StateAnimationVariable.h:15