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