LeviLamina
Loading...
Searching...
No Matches
CommonResourceDefinitionMap.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
8// auto generated forward declare list
9// clang-format off
14// clang-format on
15
16class CommonResourceDefinitionMap {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::ActorSkeletalAnimationPtr>> mActorAnimationMap;
21 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::ActorAnimationControllerPtr>>
22 mActorAnimationControllerMap;
23 ::ll::TypedStorage<8, 24, ::std::vector<::NamedMolangScript>> mActorAnimateScriptArray;
24 ::ll::TypedStorage<8, 24, ::std::vector<::MolangVariableSettings>> mVariableSettings;
25 ::ll::TypedStorage<8, 24, ::std::vector<::HashedString>> mQueryableGeometryBoneNames;
26 // NOLINTEND
27
28#ifdef LL_PLAT_S
29#else // LL_PLAT_C
30public:
31 // prevent constructor by default
32 CommonResourceDefinitionMap& operator=(CommonResourceDefinitionMap const&);
33 CommonResourceDefinitionMap();
34
35#endif
36public:
37 // member functions
38 // NOLINTBEGIN
39#ifdef LL_PLAT_C
40 MCAPI CommonResourceDefinitionMap(::CommonResourceDefinitionMap const&);
41#endif
42
43 MCAPI ::std::vector<::NamedMolangScript> const& getAnimateScriptArray() const;
44
45#ifdef LL_PLAT_C
46 MCFOLD ::std::unordered_map<::HashedString, ::ActorSkeletalAnimationPtr> const& getAnimations() const;
47
48 MCAPI uint64 getQueryableGeometryBoneIndexByNameHash(uint64 boneNameHash) const;
49
50 MCAPI void initQueryableGeometryBoneNames(::std::vector<::HashedString> geometryDefaultBoneOrientations);
51#endif
52
53 MCAPI bool isCommonResourceDefinitionMapEmpty() const;
54
55#ifdef LL_PLAT_C
56 MCAPI bool isQueryableGeometryBoneNameArrayInitialized() const;
57#endif
58
59 MCAPI void mergeActorAnimateScriptArray(::std::vector<::NamedMolangScript> const& actorAnimateScriptArray);
60
61 MCAPI void mergeAnimation(::HashedString const& name, ::ActorSkeletalAnimationPtr animationPtr);
62
63 MCAPI void
64 mergeAnimationController(::HashedString const& name, ::ActorAnimationControllerPtr animationControllerPtr);
65
66#ifdef LL_PLAT_C
67 MCAPI void mergePublicVariable(::HashedString const& variableName);
68
69 MCAPI void removeActorAnimateScript(::HashedString const& animateScriptName);
70#endif
71
72 MCAPI ~CommonResourceDefinitionMap();
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78#ifdef LL_PLAT_C
79 MCAPI void* $ctor(::CommonResourceDefinitionMap const&);
80#endif
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCAPI void $dtor();
87 // NOLINTEND
88};
Definition ActorAnimationControllerPtr.h:12
Definition ActorSkeletalAnimationPtr.h:16
Definition HashedString.h:5
Definition MolangVariableSettings.h:9
Definition NamedMolangScript.h:9