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, 64, ::entt::meta_any> mValue;
13 // NOLINTEND
14
15public:
16 // prevent constructor by default
17 ResultAny(ResultAny const&);
18
19public:
20 // member functions
21 // NOLINTBEGIN
22 MCAPI ResultAny();
23
24 MCFOLD ::Scripting::ResultAny& operator=(::Scripting::ResultAny&& rhs);
25
26 MCAPI ::Scripting::ResultAny& operator=(::Scripting::ResultAny const& rhs);
27
28 MCAPI ::entt::meta_any toAny();
29
30 MCAPI ::entt::meta_any toAny() const;
31
32 MCAPI ::entt::meta_any toErrorAny() const;
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static ::Scripting::ResultAny makeErrorFromAny(::entt::meta_any&& errorAny);
39
40 MCAPI static ::Scripting::ResultAny makeResultFromAny(::entt::meta_any const& resultAny);
41 // NOLINTEND
42
43public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCFOLD void* $ctor();
47 // NOLINTEND
48};
49
50} // namespace Scripting
Definition ResultAny.h:7