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
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
68
69public:
70 // virtual functions
71 // NOLINTBEGIN
72 // vIndex: 1
73 virtual void onMakeObject(
76 ::entt::meta_type const& type,
77 uint size
78 ) /*override*/;
79
80 // vIndex: 2
81 virtual void onDestroyObject(
84 ::entt::meta_type const& type,
85 uint size
86 ) /*override*/;
87
88 // vIndex: 0
89 virtual ~ScriptPluginHandleCounter() /*override*/ = default;
90 // NOLINTEND
91
92public:
93 // member functions
94 // NOLINTBEGIN
95 MCNAPI ::ScriptPluginHandleCounter::TypeStats* _getOrMakeStats(::entt::meta_type const& type);
96 // NOLINTEND
97
98public:
99 // virtual function thunks
100 // NOLINTBEGIN
101 MCNAPI void
102 $onMakeObject(::Scripting::LifetimeRegistry&, ::Scripting::ObjectHandle, ::entt::meta_type const& type, uint size);
103
104 MCNAPI void $onDestroyObject(
107 ::entt::meta_type const& type,
108 uint size
109 );
110 // NOLINTEND
111
112public:
113 // vftables
114 // NOLINTBEGIN
115 MCNAPI static void** $vftable();
116 // NOLINTEND
117};
Definition ScriptPluginHandleCounter.h:14
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:16
Definition ScriptPluginHandleCounter.h:22
Definition ObjectHandle.h:7
Definition Alias.h:14