LeviLamina
Loading...
Searching...
No Matches
StrongObjectHandle.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Scripting { class LifetimeRegistry; }
8namespace Scripting { class WeakLifetimeScope; }
9namespace Scripting { struct ObjectHandle; }
10// clang-format on
11
12namespace Scripting {
13
15public:
16 // member variables
17 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // member functions
24 // NOLINTBEGIN
26
28
30
31 MCNAPI
33
34 MCNAPI ::entt::meta_any asAny();
35
36 MCNAPI ::Scripting::ObjectHandle getHandle() const;
37
38 MCNAPI ::Scripting::LifetimeRegistry* getLifetimeRegistry() const;
39
40 MCNAPI ::Scripting::WeakLifetimeScope getScope() const;
41
42 MCNAPI bool operator!=(::Scripting::StrongObjectHandle const& rhs) const;
43
44 MCNAPI ::Scripting::StrongObjectHandle& operator=(::Scripting::StrongObjectHandle&& rhs);
45
46 MCNAPI ::Scripting::StrongObjectHandle& operator=(::Scripting::StrongObjectHandle const& rhs);
47
48 MCNAPI bool operator==(::Scripting::StrongObjectHandle const& rhs) const;
49
50 MCNAPI bool valid() const;
51
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCNAPI static ::Scripting::ObjectHandle release(::Scripting::StrongObjectHandle&& handleRef);
59 // NOLINTEND
60
61public:
62 // static variables
63 // NOLINTBEGIN
64 MCNAPI static ::Scripting::StrongObjectHandle const& InvalidHandle();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCNAPI void* $ctor();
71
73
74 MCNAPI void* $ctor(::Scripting::StrongObjectHandle const& rhs);
75
76 MCNAPI void* $ctor(::Scripting::WeakLifetimeScope scope, ::Scripting::ObjectHandle objHandle, bool addReference);
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCNAPI void $dtor();
83 // NOLINTEND
84};
85
86} // namespace Scripting
Definition LifetimeRegistry.h:18
Definition StrongObjectHandle.h:14
MCAPI StrongObjectHandle(::Scripting::StrongObjectHandle &&rhs)
MCAPI void * $ctor(::Scripting::StrongObjectHandle const &rhs)
MCAPI::Scripting::WeakLifetimeScope getScope() const
MCAPI void * $ctor(::Scripting::WeakLifetimeScope scope, ::Scripting::ObjectHandle objHandle, bool addReference)
MCAPI::entt::meta_any asAny()
MCAPI bool valid() const
MCAPI bool operator==(::Scripting::StrongObjectHandle const &rhs) const
MCAPI::Scripting::LifetimeRegistry * getLifetimeRegistry() const
static MCAPI ::Scripting::StrongObjectHandle const & InvalidHandle()
MCAPI StrongObjectHandle(::Scripting::WeakLifetimeScope scope, ::Scripting::ObjectHandle objHandle, bool addReference)
static MCAPI ::Scripting::ObjectHandle release(::Scripting::StrongObjectHandle &&handleRef)
MCAPI::Scripting::ObjectHandle getHandle() const
MCAPI StrongObjectHandle(::Scripting::StrongObjectHandle const &rhs)
MCAPI::Scripting::StrongObjectHandle & operator=(::Scripting::StrongObjectHandle const &rhs)
MCAPI bool operator!=(::Scripting::StrongObjectHandle const &rhs) const
MCAPI void * $ctor(::Scripting::StrongObjectHandle &&rhs)
MCAPI::Scripting::StrongObjectHandle & operator=(::Scripting::StrongObjectHandle &&rhs)
Definition WeakLifetimeScope.h:14
Definition ObjectHandle.h:15
Definition Alias.h:14