LeviLamina
Loading...
Searching...
No Matches
ScriptDebugDrawer.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/lifetime_registry/WeakHandleFromThis.h"
8#include "mc/deps/scripting/lifetime_registry/WeakLifetimeScope.h"
9
10// auto generated forward declare list
11// clang-format off
12class ServerLevel;
13namespace ScriptModuleDebugUtilities { class ScriptDebugShape; }
14namespace ScriptModuleDebugUtilities { struct ScriptDebugDrawerDataComponent; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleDebugUtilities {
19
20class ScriptDebugDrawer : public ::Scripting::WeakHandleFromThis<::ScriptModuleDebugUtilities::ScriptDebugDrawer> {
21public:
22 // ScriptDebugDrawer inner types define
23 using Key = int64;
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 16, ::Scripting::WeakLifetimeScope> mScope;
29 ::ll::TypedStorage<8, 8, ::ServerLevel&> mLevel;
30 ::ll::TypedStorage<8, 8, ::ScriptModuleDebugUtilities::ScriptDebugDrawerDataComponent*> mDataComponent;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 ScriptDebugDrawer& operator=(ScriptDebugDrawer const&);
38
39public:
40 // member functions
41 // NOLINTBEGIN
43
44 MCAPI void _removeAll();
45
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static ::Scripting::ClassBinding bind();
53
54 MCAPI static ::Scripting::StrongTypedObjectHandle<::ScriptModuleDebugUtilities::ScriptDebugDrawer>
55 getHandle(::Scripting::WeakLifetimeScope& scope, ::ServerLevel& level);
56 // NOLINTEND
57};
58
59} // namespace ScriptModuleDebugUtilities
Definition ScriptDebugDrawer.h:20
Definition StrongTypedObjectHandle.h:8
Definition WeakHandleFromThis.h:8
Definition WeakLifetimeScope.h:12
Definition ServerLevel.h:61