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/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
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#ifdef LL_PLAT_C
49#endif
50
51 MCAPI void _loadActorAnimationController(
52 ::std::string const& fileData,
53 ::Core::Path const& filenameWithExtension,
54 ::MinEngineVersion const& minEngineVersion,
55 ::CurrentCmdVersion packCommandVersion
56 );
57
58#ifdef LL_PLAT_C
59 MCAPI ::ActorAnimationControllerPtr getActorAnimationController(::HashedString const& name);
60#endif
61
62 MCAPI ::std::shared_ptr<::ActorAnimationControllerInfo> getActorAnimationControllerInfo(::HashedString const& name);
63
64#ifdef LL_PLAT_C
65 MCAPI void loadActorAnimationControllersAsync(
66 ::ResourcePackManager& resourcePackManager,
67 ::Bedrock::NotNullNonOwnerPtr<::ResourceLoadManager> resourceLoadManager
68 );
69#endif
70
71 MCAPI void loadActorAnimationControllersSync(::ResourcePackManager& resourcePackManager);
72 // NOLINTEND
73
74public:
75 // static functions
76 // NOLINTBEGIN
77 MCAPI static ::std::shared_ptr<
79 _buildAnimationControllerFileSchema_v1_10_Or_Later(::SemVersion const& version);
80
81 MCAPI static ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, bool>>
82 _buildAnimationControllerFileSchema_v1_8();
83
84 MCAPI static bool loadFormatVersion(::Json::Value const& root, ::SemVersion& version);
85
86 MCAPI static bool upgrade_v1_8_to_v1_10(::Json::Value& root, ::MinEngineVersion const& minEngineVersion);
87 // NOLINTEND
88
89public:
90 // constructor thunks
91 // NOLINTBEGIN
92#ifdef LL_PLAT_C
93 MCAPI void* $ctor();
94#endif
95 // NOLINTEND
96
97public:
98 // destructor thunk
99 // NOLINTBEGIN
100 MCAPI void $dtor();
101 // NOLINTEND
102
103public:
104 // vftables
105 // NOLINTBEGIN
106 MCNAPI static void** $vftable();
107 // NOLINTEND
108};
Definition ActorAnimationControllerGroup.h:27
static MCAPI void ** $vftable()
Definition ActorAnimationControllerInfo.h:13
Definition ActorAnimationControllerPtr.h:10
Definition EnableNonOwnerReferences.h:7
Definition Path.h:17
Definition HashedString.h:5
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition Value.h:16
Definition MinEngineVersion.h:10
Definition ResourceLoadManager.h:19
Definition ResourcePackManager.h:30
Definition SemVersion.h:15
Definition ActorAnimationControllerGroupParseMetaData.h:13