LeviLamina
Loading...
Searching...
No Matches
LifetimeRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Scripting { class IScriptRef; }
8namespace Scripting { class LifetimeRegistryReference; }
9namespace Scripting { struct ContextId; }
10namespace Scripting { struct ObjectHandle; }
11namespace Scripting::internal { struct BaseScriptComponent; }
12// clang-format on
13
14namespace Scripting {
15
17public:
18 // member variables
19 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 LifetimeRegistry& operator=(LifetimeRegistry const&);
35
36public:
37 // member functions
38 // NOLINTBEGIN
40
41 MCNAPI ::Scripting::ObjectHandle _createBaseObject(::Scripting::internal::BaseScriptComponent&& baseScriptComp);
42
43 MCNAPI void
45
46 MCNAPI void destroyLifetimeScope(bool expectAllDead);
47
49
50 MCNAPI ::entt::meta_any resolveAsAny(::Scripting::ObjectHandle handle);
51
53
55
57
58 MCNAPI ::entt::meta_type const& resolvedType(::Scripting::ObjectHandle handle);
59
60 MCNAPI void setScriptRef(::Scripting::ObjectHandle handle, ::std::unique_ptr<::Scripting::IScriptRef>&& scriptRef);
61
62 MCNAPI bool valid(::Scripting::ObjectHandle const& handle);
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
69 // NOLINTEND
70};
71
72} // namespace Scripting
Definition LifetimeRegistryReference.h:7
Definition LifetimeRegistry.h:16
MCAPI bool valid(::Scripting::ObjectHandle const &handle)
MCAPI bool removeReference(::Scripting::ObjectHandle handle)
MCAPI::entt::meta_type const & resolvedType(::Scripting::ObjectHandle handle)
MCAPI::entt::meta_any resolveAsStrongTypedObjectHandle(::Scripting::ObjectHandle handle)
MCAPI LifetimeRegistry(::Scripting::ContextId contextId, ::Scripting::LifetimeRegistryReference &registryRef)
MCAPI::entt::meta_any resolveAsTypedObjectHandle(::Scripting::ObjectHandle handle)
MCAPI void destroyLifetimeScope(bool expectAllDead)
MCAPI void _destroyObject(::Scripting::ObjectHandle handle, ::Scripting::internal::BaseScriptComponent &baseScriptComp)
MCAPI::Scripting::ObjectHandle _createBaseObject(::Scripting::internal::BaseScriptComponent &&baseScriptComp)
MCAPI void setScriptRef(::Scripting::ObjectHandle handle, ::std::unique_ptr<::Scripting::IScriptRef > &&scriptRef)
MCAPI void * $ctor(::Scripting::ContextId contextId, ::Scripting::LifetimeRegistryReference &registryRef)
MCAPI::entt::meta_any resolveAsWeakTypedObjectHandle(::Scripting::ObjectHandle handle)
MCAPI::entt::meta_any resolveAsAny(::Scripting::ObjectHandle handle)
Definition ContextId.h:7
Definition ObjectHandle.h:7
Definition BaseScriptComponent.h:10
Definition Alias.h:14