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
16class HashedString;
20class SemVersion;
22namespace Core { class Path; }
23namespace Json { class Value; }
24namespace JsonUtil { class EmptyClass; }
25// clang-format on
26
28public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 8, int64 const> mResourceLoadTimeStamp;
32 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mActorAnimationControllerLock;
33 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::std::shared_ptr<::ActorAnimationControllerInfo>>>
34 mAnimationControllers;
35 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ResourceLoadManager>> mResourceLoadManager;
36 // NOLINTEND
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
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_C ::ActorAnimationControllerPtr getActorAnimationController(::HashedString const& name);
55
56 MCAPI ::std::shared_ptr<::ActorAnimationControllerInfo> getActorAnimationControllerInfo(::HashedString const& name);
57
58 MCAPI_C void loadActorAnimationControllersAsync(
59 ::ResourcePackManager& resourcePackManager,
60 ::Bedrock::NotNullNonOwnerPtr<::ResourceLoadManager> resourceLoadManager
61 );
62
63 MCAPI void loadActorAnimationControllersSync(::ResourcePackManager& resourcePackManager);
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCAPI static ::std::shared_ptr<
71 _buildAnimationControllerFileSchema_v1_10_Or_Later(::SemVersion const& version);
72
73 MCAPI static ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, bool>>
74 _buildAnimationControllerFileSchema_v1_8();
75
76 MCAPI static bool loadFormatVersion(::Json::Value const& root, ::SemVersion& version);
77
78 MCAPI static bool upgrade_v1_8_to_v1_10(::Json::Value& root, ::MinEngineVersion const& minEngineVersion);
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 MCAPI_C void* $ctor();
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCAPI void $dtor();
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
Definition ActorAnimationControllerGroup.h:27
static MCAPI void ** $vftable()
Definition ActorAnimationControllerInfo.h:13
Definition ActorAnimationControllerPtr.h:10
Definition EnableNonOwnerReferences.h:7
Definition Path.h:10
Definition HashedString.h:5
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition Value.h:16
Definition MinEngineVersion.h:10
Definition ResourceLoadManager.h:18
Definition ResourcePackManager.h:29
Definition SemVersion.h:15
Definition ActorAnimationControllerGroupParseMetaData.h:13