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
7
namespace
Scripting {
class
IScriptRef; }
8
namespace
Scripting {
class
LifetimeRegistryReference; }
9
namespace
Scripting {
struct
ContextId; }
10
namespace
Scripting {
struct
ObjectHandle; }
11
namespace
Scripting::internal {
struct
BaseScriptComponent; }
12
// clang-format on
13
14
namespace
Scripting {
15
16
class
LifetimeRegistry
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::UntypedStorage<1, 1>
mUnkcb6979;
21
::ll::UntypedStorage<8, 8>
mUnk217a0b;
22
::ll::UntypedStorage<8, 64>
mUnke1f331;
23
::ll::UntypedStorage<8, 304>
mUnkdff59e;
24
::ll::UntypedStorage<8, 16>
mUnk8cf060;
25
::ll::UntypedStorage<8, 16>
mUnkc52c09;
26
::ll::UntypedStorage<8, 24>
mUnkff5fe4;
27
::ll::UntypedStorage<8, 128>
mUnk60fe14;
28
// NOLINTEND
29
30
public
:
31
// prevent constructor by default
32
LifetimeRegistry
& operator=(
LifetimeRegistry
const
&);
33
LifetimeRegistry
(
LifetimeRegistry
const
&);
34
LifetimeRegistry
();
35
36
public
:
37
// member functions
38
// NOLINTBEGIN
39
MCAPI
LifetimeRegistry
(
::Scripting::ContextId
contextId,
::Scripting::LifetimeRegistryReference
& registryRef);
40
41
MCAPI ::Scripting::ObjectHandle _createBaseObject(
::Scripting::internal::BaseScriptComponent
&& baseScriptComp);
42
43
MCAPI
void
44
_destroyObject(
::Scripting::ObjectHandle
handle,
::Scripting::internal::BaseScriptComponent
& baseScriptComp);
45
46
MCAPI
void
destroyLifetimeScope(
bool
expectAllDead);
47
48
MCAPI
bool
removeReference(
::Scripting::ObjectHandle
handle);
49
50
MCAPI ::entt::meta_any resolveAsAny(
::Scripting::ObjectHandle
handle);
51
52
MCAPI ::entt::meta_any resolveAsStrongTypedObjectHandle(
::Scripting::ObjectHandle
handle);
53
54
MCAPI ::entt::meta_any resolveAsTypedObjectHandle(
::Scripting::ObjectHandle
handle);
55
56
MCAPI ::entt::meta_any resolveAsWeakTypedObjectHandle(
::Scripting::ObjectHandle
handle);
57
58
MCAPI ::entt::meta_type
const
& resolvedType(
::Scripting::ObjectHandle
handle);
59
60
MCAPI
void
setScriptRef(
::Scripting::ObjectHandle
handle, ::std::unique_ptr<::Scripting::IScriptRef>&& scriptRef);
61
62
MCAPI
bool
valid(
::Scripting::ObjectHandle
const
& handle);
63
// NOLINTEND
64
65
public
:
66
// constructor thunks
67
// NOLINTBEGIN
68
MCAPI
void
* $ctor(
::Scripting::ContextId
contextId,
::Scripting::LifetimeRegistryReference
& registryRef);
69
// NOLINTEND
70
};
71
72
}
// namespace Scripting
Scripting::LifetimeRegistryReference
Definition
LifetimeRegistryReference.h:7
Scripting::LifetimeRegistry
Definition
LifetimeRegistry.h:16
Scripting::ContextId
Definition
ContextId.h:7
Scripting::ObjectHandle
Definition
ObjectHandle.h:7
Scripting::internal::BaseScriptComponent
Definition
BaseScriptComponent.h:7
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
scripting
lifetime_registry
LifetimeRegistry.h
Generated on Sat Apr 26 2025 05:55:30 for LeviLamina by
1.12.0