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/script_core/lifetime_registry/scripting/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
43public:
44 // member variables
45 // NOLINTBEGIN
49 // NOLINTEND
50
51public:
52 // prevent constructor by default
53 ScriptPluginHandleCounter& operator=(ScriptPluginHandleCounter const&);
54 ScriptPluginHandleCounter(ScriptPluginHandleCounter const&);
55 ScriptPluginHandleCounter();
56
57public:
58 // virtual functions
59 // NOLINTBEGIN
60 virtual void onMakeObject(
63 ::entt::meta_type const& type,
64 uint size
65 ) /*override*/;
66
67 virtual void onDestroyObject(
70 ::entt::meta_type const& type,
71 uint size
72 ) /*override*/;
73 // NOLINTEND
74
75public:
76 // member functions
77 // NOLINTBEGIN
78 MCNAPI ::ScriptPluginHandleCounter::TypeStats* _getOrMakeStats(::entt::meta_type const& type);
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCNAPI void
85 $onMakeObject(::Scripting::LifetimeRegistry&, ::Scripting::ObjectHandle, ::entt::meta_type const& type, uint size);
86
87 MCNAPI void $onDestroyObject(
90 ::entt::meta_type const& type,
91 uint size
92 );
93
94
95 // NOLINTEND
96};
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)
Definition ILifetimeObjectListener.h:13
Definition LifetimeRegistry.h:23
Definition ScriptPluginHandleCounter.h:22
Definition ObjectHandle.h:7
Definition Alias.h:14