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
IObjectInspector.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
ResultAny
; }
8
namespace
Scripting {
struct
ObjectHandle
; }
9
// clang-format on
10
11
namespace
Scripting {
12
13
class
IObjectInspector
{
14
public
:
15
// virtual functions
16
// NOLINTBEGIN
17
virtual
~IObjectInspector
() =
default
;
18
19
virtual
bool
isSameObject(
::Scripting::ObjectHandle
handleA,
::Scripting::ObjectHandle
handleB)
const
= 0;
20
21
virtual
bool
22
hasBooleanPropertyValue(
::Scripting::ObjectHandle
handle,
char
const
* name,
bool
expectedValue)
const
= 0;
23
24
virtual ::std::optional<::Scripting::ResultAny> getPropertyValue(
25
::Scripting::ObjectHandle
handle,
26
char
const
* name,
27
::entt::meta_type
const
& expectedType
28
)
const
= 0;
29
30
virtual
uint getDataBufferLength(
::Scripting::ObjectHandle
handle)
const
= 0;
31
32
virtual
uint getDataBufferByteLength(
::Scripting::ObjectHandle
handle)
const
= 0;
33
34
virtual
uchar* getDataBufferBytes(
::Scripting::ObjectHandle
handle)
const
= 0;
35
// NOLINTEND
36
};
37
38
}
// namespace Scripting
Scripting::IObjectInspector
Definition
IObjectInspector.h:13
Scripting::ResultAny
Definition
ResultAny.h:7
Scripting::ObjectHandle
Definition
ObjectHandle.h:7
src
mc
deps
script_core
script_engine
scripting
IObjectInspector.h
Generated on
for LeviLamina by
1.16.1