LeviLamina
Loading...
Searching...
No Matches
FutureAny.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/script_engine/ScriptValue.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Scripting { class IObjectInspector; }
12namespace Scripting { class IRuntime; }
13namespace Scripting { class ResultAny; }
14namespace Scripting { class WeakLifetimeScope; }
15namespace Scripting { struct ContextId; }
16namespace Scripting { struct FutureType; }
17// clang-format on
18
19namespace Scripting {
20
22public:
23 // member variables
24 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 FutureAny& operator=(FutureAny const&);
32 FutureAny();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~FutureAny() /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI FutureAny(::Scripting::FutureAny const& rhs);
45
46 MCAPI FutureAny(
47 ::Scripting::IRuntime* runtime,
48 ::Scripting::ContextId contextId,
52 );
53
54 MCAPI ::Scripting::ResultAny getResult() const;
55
56 MCAPI bool isPending() const;
57
58 MCAPI bool isRejected() const;
59
60 MCFOLD ::Scripting::FutureAny& operator=(::Scripting::FutureAny&& rhs);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCFOLD void* $ctor(::Scripting::FutureAny const& rhs);
67
68 MCAPI void* $ctor(
69 ::Scripting::IRuntime* runtime,
70 ::Scripting::ContextId contextId,
74 );
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCFOLD void $dtor();
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
89
90} // namespace Scripting
Definition FutureAny.h:21
Definition IObjectInspector.h:13
Definition IRuntime.h:36
Definition ScriptValue.h:12
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12
Definition ContextId.h:7
Definition Alias.h:14