LeviLamina
Loading...
Searching...
No Matches
ActorAnimationGroup.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/deps/core/utility/EnableNonOwnerReferences.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/server/commands/CurrentCmdVersion.h"
10
11// auto generated forward declare list
12// clang-format off
16class PackStats;
19namespace Core { class Path; }
20// clang-format on
21
22class ActorAnimationGroup : public ::Bedrock::EnableNonOwnerReferences {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 8, int64 const> mResourceLoadTimeStamp;
27 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::std::shared_ptr<::ActorAnimationInfo>>>
28 mAnimations;
29 ::ll::TypedStorage<8, 80, ::std::mutex> mActorAnimationMutex;
30 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ResourceLoadManager>> mResourceLoadManager;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~ActorAnimationGroup() /*override*/ = default;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI ActorAnimationGroup();
43
44 MCAPI ::ActorSkeletalAnimationPtr getActorAnimation(::HashedString const& name);
45
46 MCAPI ::std::shared_ptr<::ActorAnimationInfo> getActorAnimationInfo(::HashedString const& name);
47
48#ifdef LL_PLAT_C
49 MCAPI void loadActorAnimation(
50 ::std::string const& fileData,
51 ::Core::Path const& filenameWithExtension,
52 ::PackStats& stats,
53 ::MinEngineVersion const& minEngineVersion,
54 ::CurrentCmdVersion packCommandVersion,
55 bool isPersonaPack,
56 ::std::string const& personaPieceId
57 );
58
59 MCAPI void loadActorAnimationsAsync(
60 ::ResourcePackManager& resourcePackManager,
61 ::Bedrock::NotNullNonOwnerPtr<::ResourceLoadManager> resourceLoadManager
62 );
63#endif
64
65 MCAPI void loadActorAnimationsSync(::ResourcePackManager& resourcePackManager);
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor();
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
static MCAPI void ** $vftable()
Definition ActorAnimationInfo.h:13
Definition ActorSkeletalAnimationPtr.h:15
Definition EnableNonOwnerReferences.h:7
Definition Path.h:11
Definition HashedString.h:5
Definition MinEngineVersion.h:15
Definition PackStats.h:5
Definition ResourceLoadManager.h:18
Definition ResourcePackManager.h:36