LeviLamina
Loading...
Searching...
No Matches
ActorAnimationControllerGroup.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
15class HashedString;
19class SemVersion;
21namespace Core { class Path; }
22namespace Json { class Value; }
23namespace JsonUtil { class EmptyClass; }
24// clang-format on
25
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 8, int64 const> mResourceLoadTimeStamp;
31 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mActorAnimationControllerLock;
32 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::std::shared_ptr<::ActorAnimationControllerInfo>>>
33 mAnimationControllers;
34 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ResourceLoadManager>> mResourceLoadManager;
35 // NOLINTEND
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 0
41 virtual ~ActorAnimationControllerGroup() /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI void _loadActorAnimationController(
48 ::std::string const& fileData,
49 ::Core::Path const& filenameWithExtension,
50 ::MinEngineVersion const& minEngineVersion,
51 ::CurrentCmdVersion packCommandVersion
52 );
53
54 MCAPI ::std::shared_ptr<::ActorAnimationControllerInfo> getActorAnimationControllerInfo(::HashedString const& name);
55
56 MCAPI void loadActorAnimationControllersSync(::ResourcePackManager& resourcePackManager);
57 // NOLINTEND
58
59public:
60 // static functions
61 // NOLINTBEGIN
62 MCAPI static ::std::shared_ptr<
64 _buildAnimationControllerFileSchema_v1_10_Or_Later(::SemVersion const& version);
65
66 MCAPI static ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, bool>>
67 _buildAnimationControllerFileSchema_v1_8();
68
69 MCAPI static bool loadFormatVersion(::Json::Value const& root, ::SemVersion& version);
70
71 MCAPI static bool upgrade_v1_8_to_v1_10(::Json::Value& root, ::MinEngineVersion const& minEngineVersion);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCAPI void $dtor();
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
Definition ActorAnimationControllerGroup.h:26
static MCAPI void ** $vftable()
Definition ActorAnimationControllerInfo.h:13
Definition EnableNonOwnerReferences.h:7
Definition Path.h:11
Definition HashedString.h:5
Definition JsonSchemaObjectNode.h:8
Definition Value.h:16
Definition MinEngineVersion.h:10
Definition Path.h:16
Definition ResourceLoadManager.h:16
Definition ResourcePackManager.h:24
Definition SemVersion.h:16
Definition ActorAnimationControllerGroupParseMetaData.h:13