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
7namespace Scripting { class ResultAny; }
8namespace Scripting { struct ObjectHandle; }
9// clang-format on
10
11namespace Scripting {
12
14public:
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(
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
37public:
38 // virtual function thunks
39 // NOLINTBEGIN
40
41 // NOLINTEND
42};
43
44} // namespace Scripting
Definition IObjectInspector.h:13
Definition ResultAny.h:7
Definition ObjectHandle.h:15