LeviLamina
Loading...
Searching...
No Matches
ActorAnimationController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/sem_ver/SemVersion.h"
7#include "mc/deps/core/string/HashedString.h"
8
9// auto generated forward declare list
10// clang-format off
14class RenderParams;
15// clang-format on
16
17class ActorAnimationController {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 48, ::HashedString> mName;
22 ::ll::TypedStorage<8, 24, ::SemVersion> mVersion;
23 ::ll::TypedStorage<8, 8, uint64> mInitialStateIndex;
24 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ActorAnimationControllerState>>> mStates;
25 ::ll::TypedStorage<8, 32, ::std::string> mSourceFilePathWithExtension;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 ActorAnimationController();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI ActorAnimationController(
36 ::HashedString const& name,
37 ::SemVersion const& version,
38 ::std::string const& sourceFilePathWithExtension
39 );
40
41 MCAPI ::std::shared_ptr<::ActorAnimationControllerState>& addState(::HashedString const& name);
42
43 MCAPI void resolveTransitionStateIndices();
44
45 MCAPI void updateActiveParticleState(
46 ::ApplyAnimationContext const& applyContext,
47 ::RenderParams& renderParams,
48 int oldStateIndex,
49 int newStateIndex,
51 ) const;
52
53 MCAPI void updateActiveSoundEffectState(
54 ::RenderParams& renderParams,
55 int,
56 int newStateIndex,
58 ) const;
59
60 MCAPI ~ActorAnimationController();
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCAPI void*
67 $ctor(::HashedString const& name, ::SemVersion const& version, ::std::string const& sourceFilePathWithExtension);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCAPI void $dtor();
74 // NOLINTEND
75};
Definition ActorAnimationControllerPlayer.h:23
Definition ActorAnimationControllerState.h:21
Definition ApplyAnimationContext.h:16
Definition HashedString.h:5
Definition RenderParams.h:30
Definition SemVersion.h:15