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 uint64 findStateIndex(::std::string const& name, bool missingIsOkay, uint64 defaultState) const;
44
45 MCAPI void resolveTransitionStateIndices();
46
47 MCAPI void updateActiveParticleState(
48 ::ApplyAnimationContext const& applyContext,
49 ::RenderParams& renderParams,
50 int oldStateIndex,
51 int newStateIndex,
53 ) const;
54
55 MCAPI void updateActiveSoundEffectState(
56 ::RenderParams& renderParams,
57 int newStateIndex,
58 int player,
60 ) const;
61
62 MCAPI ~ActorAnimationController();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void*
69 $ctor(::HashedString const& name, ::SemVersion const& version, ::std::string const& sourceFilePathWithExtension);
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCAPI void $dtor();
76 // NOLINTEND
77};
Definition ActorAnimationControllerPlayer.h:23
Definition ActorAnimationControllerState.h:21
Definition ApplyAnimationContext.h:16
Definition HashedString.h:5
Definition RenderParams.h:30
Definition SemVersion.h:15