Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
ScriptObjRef.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/script_core/lifetime_registry/scripting/IScriptRef.h"
7
8
namespace
Scripting::QuickJS {
9
10
class
ScriptObjRef :
public
::Scripting::IScriptRef
{
11
public
:
12
// ScriptObjRef inner types declare
13
// clang-format off
14
struct
GeneratorData
;
15
struct
PromiseData
;
16
// clang-format on
17
18
// ScriptObjRef inner types define
19
struct
GeneratorData {
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::UntypedStorage<8, 16>
mUnk2b5b0c;
24
// NOLINTEND
25
26
public
:
27
// prevent constructor by default
28
GeneratorData& operator=(GeneratorData
const
&);
29
GeneratorData(GeneratorData
const
&);
30
GeneratorData();
31
};
32
33
struct
PromiseData {
34
public
:
35
// member variables
36
// NOLINTBEGIN
37
::ll::UntypedStorage<8, 16>
mUnk71b30f;
38
::ll::UntypedStorage<8, 16>
mUnk1c1bd6;
39
// NOLINTEND
40
41
public
:
42
// prevent constructor by default
43
PromiseData& operator=(PromiseData
const
&);
44
PromiseData(PromiseData
const
&);
45
PromiseData();
46
};
47
48
public
:
49
// member variables
50
// NOLINTBEGIN
51
::ll::UntypedStorage<8, 8>
mUnk60fd4e;
52
::ll::UntypedStorage<8, 16>
mUnke0e095;
53
::ll::UntypedStorage<8, 40>
mUnk50ff94;
54
::ll::UntypedStorage<1, 1>
mUnke9ae49;
55
::ll::UntypedStorage<1, 1>
mUnk7fb67c;
56
// NOLINTEND
57
58
public
:
59
// prevent constructor by default
60
ScriptObjRef& operator=(ScriptObjRef
const
&);
61
ScriptObjRef(ScriptObjRef
const
&);
62
ScriptObjRef();
63
64
public
:
65
// virtual functions
66
// NOLINTBEGIN
67
virtual
~ScriptObjRef()
/*override*/
=
default
;
68
69
virtual
void
onReduceToSingleOwner()
/*override*/
;
70
71
virtual
void
onPromoteToMultipleOwners()
/*override*/
;
72
73
virtual
void
onFinalize()
/*override*/
;
74
// NOLINTEND
75
76
public
:
77
// member functions
78
// NOLINTBEGIN
79
MCNAPI
void
pin
();
80
81
MCNAPI
void
unpin
();
82
// NOLINTEND
83
84
public
:
85
// virtual function thunks
86
// NOLINTBEGIN
87
MCNAPI
void
$onReduceToSingleOwner
();
88
89
MCNAPI
void
$onPromoteToMultipleOwners
();
90
91
MCNAPI
void
$onFinalize
();
92
93
94
// NOLINTEND
95
};
96
97
}
// namespace Scripting::QuickJS
Scripting::IScriptRef
Definition
IScriptRef.h:7
Scripting::QuickJS::ScriptObjRef::$onPromoteToMultipleOwners
MCAPI void $onPromoteToMultipleOwners()
Scripting::QuickJS::ScriptObjRef::pin
MCAPI void pin()
Scripting::QuickJS::ScriptObjRef::unpin
MCAPI void unpin()
Scripting::QuickJS::ScriptObjRef::$onReduceToSingleOwner
MCAPI void $onReduceToSingleOwner()
Scripting::QuickJS::ScriptObjRef::$onFinalize
MCAPI void $onFinalize()
Scripting::QuickJS::ScriptObjRef::GeneratorData
Definition
ScriptObjRef.h:19
Scripting::QuickJS::ScriptObjRef::PromiseData
Definition
ScriptObjRef.h:33
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
script_core
quickjs
ScriptObjRef.h
Generated on
for LeviLamina by
1.16.1