LeviLamina
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
public
:
38
// virtual function thunks
39
// NOLINTBEGIN
40
41
// NOLINTEND
42
};
43
44
}
// namespace Scripting
Scripting::IObjectInspector
Definition
IObjectInspector.h:13
Scripting::ResultAny
Definition
ResultAny.h:7
Scripting::ObjectHandle
Definition
ObjectHandle.h:15
src
mc
deps
scripting
script_engine
IObjectInspector.h
Generated on
for LeviLamina by
1.16.1