LeviLamina
Loading...
Searching...
No Matches
ResultAny.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Scripting {
6
7class ResultAny {
8public:
9 // member variables
10 // NOLINTBEGIN
11 ::ll::TypedStorage<1, 1, bool> mIsError;
12 ::ll::TypedStorage<8, 192, ::entt::meta_any> mValue;
13 // NOLINTEND
14
15public:
16 // member functions
17 // NOLINTBEGIN
18 MCAPI ResultAny();
19
20 MCAPI explicit ResultAny(::entt::meta_any&& resultAny);
21
22 MCAPI ::entt::meta_any toAny();
23
24 MCAPI ::entt::meta_any toAny() const;
25
26 MCAPI ::entt::meta_any toErrorAny() const;
27
28 MCAPI ~ResultAny();
29 // NOLINTEND
30
31public:
32 // static functions
33 // NOLINTBEGIN
34 MCAPI static ::Scripting::ResultAny makeErrorFromAny(::entt::meta_any&& errorAny);
35
36 MCAPI static ::Scripting::ResultAny makeResultFromAny(::entt::meta_any const& resultAny);
37 // NOLINTEND
38
39public:
40 // constructor thunks
41 // NOLINTBEGIN
42 MCAPI void* $ctor();
43
44 MCAPI void* $ctor(::entt::meta_any&& resultAny);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCFOLD void $dtor();
51 // NOLINTEND
52};
53
54} // namespace Scripting
Definition ResultAny.h:7