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