LeviLamina
Loading...
Searching...
No Matches
IFunction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Scripting { struct ArgumentDetails; }
8// clang-format on
9
10namespace Scripting::Reflection {
11
12class IFunction {
13public:
14 // member variables
15 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 IFunction& operator=(IFunction const&);
25 IFunction(IFunction const&);
26 IFunction();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 0
32 virtual ~IFunction();
33
34 // vIndex: 1
35 virtual ::entt::meta_any call(::entt::meta_handle, ::entt::meta_any*, uint) = 0;
36
37 // vIndex: 2
38 virtual ::entt::meta_type getReturnType() const = 0;
39
40 // vIndex: 3
41 virtual uint getArgCount() const = 0;
42
43 // vIndex: 4
44 virtual ::entt::meta_type getArgType(uint) const = 0;
45
46 // vIndex: 5
47 virtual ::entt::meta_any const& getDefaultArg(uint) const = 0;
48
49 // vIndex: 6
50 virtual bool isValidArgumentValue(::entt::meta_any const&, uint) const = 0;
51
52 // vIndex: 7
53 virtual ::std::optional<::entt::meta_type> getInstanceType() const = 0;
54
55 // vIndex: 8
56 virtual ::Scripting::ArgumentDetails const& getArgDetails(uint) const = 0;
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCAPI void $dtor();
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCAPI static void** $vftable();
75 // NOLINTEND
76};
77
78} // namespace Scripting::Reflection
Definition IFunction.h:12
Definition Alias.h:14