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/platform/threading/Mutex.h"
10#include "mc/server/commands/CurrentCmdVersion.h"
11#include "mc/util/json_util/JsonSchemaObjectNode.h"
12
13// auto generated forward declare list
14// clang-format off
18class PackStats;
22namespace Core { class Path; }
23namespace JsonUtil { class EmptyClass; }
24// clang-format on
25
26class ActorAnimationGroup : public ::Bedrock::EnableNonOwnerReferences {
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 8, int64 const> mResourceLoadTimeStamp;
31 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::std::shared_ptr<::ActorAnimationInfo>>>
32 mAnimations;
33 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mActorAnimationMutex;
34 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ResourceLoadManager>> mResourceLoadManager;
35 // NOLINTEND
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~ActorAnimationGroup() /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI ActorAnimationGroup();
47
48 MCAPI ::std::shared_ptr<
50 _buildAnimationFileSchema_v1_8(bool isPersonaPack);
51
52 MCAPI ::ActorSkeletalAnimationPtr getActorAnimation(::HashedString const& name);
53
54 MCAPI ::std::shared_ptr<::ActorAnimationInfo> getActorAnimationInfo(::HashedString const& name);
55
56 MCAPI void loadActorAnimation(
57 ::std::string const& fileData,
58 ::Core::Path const& filenameWithExtension,
59 ::PackStats& stats,
60 ::MinEngineVersion const& minEngineVersion,
61 ::CurrentCmdVersion packCommandVersion,
62 bool isPersonaPack,
63 ::std::string const& personaPieceId
64 );
65
66#ifdef LL_PLAT_C
67 MCAPI void loadActorAnimationsAsync(
68 ::ResourcePackManager& resourcePackManager,
69 ::Bedrock::NotNullNonOwnerPtr<::ResourceLoadManager> resourceLoadManager
70 );
71#endif
72
73 MCAPI void loadActorAnimationsSync(::ResourcePackManager& resourcePackManager);
74 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCAPI void* $ctor();
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCAPI void $dtor();
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
static MCAPI void ** $vftable()
Definition ActorAnimationInfo.h:13
Definition ActorSkeletalAnimationPtr.h:16
Definition EnableNonOwnerReferences.h:7
Definition Path.h:12
Definition HashedString.h:5
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition MinEngineVersion.h:15
Definition PackStats.h:5
Definition ResourceLoadManager.h:19
Definition ResourcePackManager.h:35
Definition ActorAnimationGroupParseMetaData.h:14