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