LeviLamina
Loading...
Searching...
No Matches
ScriptPluginHandleCounter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/ILifetimeObjectListener.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Scripting { class LifetimeRegistry; }
11namespace Scripting { struct ObjectHandle; }
12// clang-format on
13
14class ScriptPluginHandleCounter : public ::Scripting::ILifetimeObjectListener {
15public:
16 // ScriptPluginHandleCounter inner types declare
17 // clang-format off
18 struct TypeStats;
19 // clang-format on
20
21 // ScriptPluginHandleCounter inner types define
22 struct TypeStats {
23 public:
24 // member variables
25 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 TypeStats& operator=(TypeStats const&);
39 TypeStats(TypeStats const&);
40 TypeStats();
41
42 public:
43 // member functions
44 // NOLINTBEGIN
45 MCNAPI ~TypeStats();
46 // NOLINTEND
47
48 public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCNAPI void $dtor();
52 // NOLINTEND
53 };
54
55public:
56 // member variables
57 // NOLINTBEGIN
61 // NOLINTEND
62
63public:
64 // prevent constructor by default
65 ScriptPluginHandleCounter& operator=(ScriptPluginHandleCounter const&);
66 ScriptPluginHandleCounter(ScriptPluginHandleCounter const&);
67 ScriptPluginHandleCounter();
68
69public:
70 // virtual functions
71 // NOLINTBEGIN
72 virtual void onMakeObject(
75 ::entt::meta_type const& type,
76 uint size
77 ) /*override*/;
78
79 virtual void onDestroyObject(
82 ::entt::meta_type const& type,
83 uint size
84 ) /*override*/;
85
86 virtual ~ScriptPluginHandleCounter() /*override*/ = default;
87 // NOLINTEND
88
89public:
90 // member functions
91 // NOLINTBEGIN
92 MCNAPI ::ScriptPluginHandleCounter::TypeStats* _getOrMakeStats(::entt::meta_type const& type);
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98 MCNAPI void
99 $onMakeObject(::Scripting::LifetimeRegistry&, ::Scripting::ObjectHandle, ::entt::meta_type const& type, uint size);
100
101 MCNAPI void $onDestroyObject(
104 ::entt::meta_type const& type,
105 uint size
106 );
107
108
109 // NOLINTEND
110
111public:
112 // vftables
113 // NOLINTBEGIN
114 MCNAPI static void** $vftable();
115 // NOLINTEND
116};
MCAPI void $onDestroyObject(::Scripting::LifetimeRegistry &, ::Scripting::ObjectHandle, ::entt::meta_type const &type, uint size)
MCAPI::ScriptPluginHandleCounter::TypeStats * _getOrMakeStats(::entt::meta_type const &type)
MCAPI void $onMakeObject(::Scripting::LifetimeRegistry &, ::Scripting::ObjectHandle, ::entt::meta_type const &type, uint size)
static MCAPI void ** $vftable()
Definition ILifetimeObjectListener.h:13
Definition LifetimeRegistry.h:19
Definition ScriptPluginHandleCounter.h:22
Definition ObjectHandle.h:7
Definition Alias.h:14