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
13class RenderParams;
14// clang-format on
15
16class ActorAnimationController {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 48, ::HashedString> mName;
21 ::ll::TypedStorage<8, 24, ::SemVersion> mVersion;
22 ::ll::TypedStorage<8, 8, uint64> mInitialStateIndex;
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ActorAnimationControllerState>>> mStates;
24 ::ll::TypedStorage<8, 32, ::std::string> mSourceFilePathWithExtension;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 ActorAnimationController();
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI ActorAnimationController(
35 ::HashedString const& name,
36 ::SemVersion const& version,
37 ::std::string const& sourceFilePathWithExtension
38 );
39
40 MCAPI ::std::shared_ptr<::ActorAnimationControllerState>& addState(::HashedString const& name);
41
42 MCAPI void resolveTransitionStateIndices();
43
44 MCAPI_C void updateActiveParticleState(
45 ::RenderParams& renderParams,
46 int oldStateIndex,
47 int newStateIndex,
49 ) const;
50
51 MCAPI_C void updateActiveSoundEffectState(
52 ::RenderParams& renderParams,
53 int oldStateIndex,
54 int newStateIndex,
56 ) const;
57
58 MCAPI ~ActorAnimationController();
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void*
65 $ctor(::HashedString const& name, ::SemVersion const& version, ::std::string const& sourceFilePathWithExtension);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73};
Definition ActorAnimationControllerPlayer.h:22
Definition ActorAnimationControllerState.h:21
Definition HashedString.h:5
Definition RenderParams.h:30
Definition SemVersion.h:15