LeviLamina
Loading...
Searching...
No Matches
ScriptDebugger Class Reference
+ Inheritance diagram for ScriptDebugger:

Classes

struct  AutoAttachTelem
 

Public Types

enum class  DebuggerMode : int { Stopped = 0 , Connect = 1 , Listen = 2 }
 

Public Member Functions

ScriptDebuggeroperator= (ScriptDebugger const &)
 
 ScriptDebugger (ScriptDebugger const &)
 
virtual::ScriptDebuggerSettings const & getSettings () const
 
virtual bool connect (::std::string const &host, ushort port)
 
virtual bool listen (ushort port)
 
virtual void stop ()
 
virtual void startProfiler ()
 
virtual ::std::vector<::Core::PathstopProfiler ()
 
virtual bool isStatPublisherEnabled () const
 
virtual void publishStats (uint64 collectedTick, ::std::vector<::ScriptStat > const &stats)
 
MCAPI ScriptDebugger (::ScriptDebuggerSettings settings, ::ServerLevel &serverLevel, ::MinecraftCommands &commands, ::cereal::ReflectionCtx &ctx, ::Scripting::ScriptEngine &scriptEngine, ::ScriptPluginManager &pluginManager, ::IScriptDebuggerWatchdog &watchdog, ::IScriptTelemetryLogger &telemetry)
 
MCAPI void _debuggerMessageHandler (::std::string_view message)
 
MCAPI void _handleCommandMessage (::ScriptDebuggerMessages::CommandMessage const &commandMessage)
 
MCAPI void _handleStopProfilerMessage (::ScriptDebuggerMessages::ProfilerMessage const &profilerMessage)
 
MCAPI::std::string _sanitizeHostName (::std::string const &host) const
 
MCAPI ushort _sanitizePort (uint port) const
 
MCAPI void _sendNotification (::LogLevel logLevel, ::std::string_view message)
 
MCAPI bool _tryAttachRuntime (bool expectRuntime)
 
MCAPI bool _trySelectTarget ()
 
MCAPI void sendLog (::LogLevel logLevel, ::std::string_view message)
 
MCAPI void update ()
 
MCAPI void waitAutoAttach (::std::chrono::seconds waitDuration)
 
MCAPI void * $ctor (::ScriptDebuggerSettings settings, ::ServerLevel &serverLevel, ::MinecraftCommands &commands, ::cereal::ReflectionCtx &ctx, ::Scripting::ScriptEngine &scriptEngine, ::ScriptPluginManager &pluginManager, ::IScriptDebuggerWatchdog &watchdog, ::IScriptTelemetryLogger &telemetry)
 
MCAPI void $dtor ()
 
MCAPI::ScriptDebuggerSettings const & $getSettings () const
 
MCAPI bool $connect (::std::string const &host, ushort port)
 
MCAPI bool $listen (ushort port)
 
MCAPI void $stop ()
 
MCAPI void $startProfiler ()
 
MCAPI ::std::vector<::Core::Path$stopProfiler ()
 
MCAPI bool $isStatPublisherEnabled () const
 
MCAPI void $publishStats (uint64 collectedTick, ::std::vector<::ScriptStat > const &stats)
 

Static Public Member Functions

static MCAPI void ** $vftableForIScriptDebugger ()
 
static MCAPI void ** $vftableForIScriptStatPublisher ()
 
static MCAPI ::std::string_view const & DIAGNOSTICS_CAPTURES_FOLDER ()
 
static MCAPI ::std::string_view const & PROFILER_CAPTURES_FOLDER ()
 

Public Attributes

::ll::UntypedStorage< 8, 104 > mUnkaa78c0
 
::ll::UntypedStorage< 8, 8 > mUnkd106a5
 
::ll::UntypedStorage< 8, 8 > mUnkf7195e
 
::ll::UntypedStorage< 8, 8 > mUnk2f3c05
 
::ll::UntypedStorage< 8, 8 > mUnkbce03b
 
::ll::UntypedStorage< 8, 8 > mUnkd6e3ed
 
::ll::UntypedStorage< 8, 8 > mUnk85bc4f
 
::ll::UntypedStorage< 8, 8 > mUnk53da61
 
::ll::UntypedStorage< 8, 8 > mUnk435135
 
::ll::UntypedStorage< 8, 8 > mUnk8e8e70
 
::ll::UntypedStorage< 8, 8 > mUnkde53e6
 
::ll::UntypedStorage< 4, 4 > mUnk1e8970
 
::ll::UntypedStorage< 8, 32 > mUnk4b5496
 
::ll::UntypedStorage< 4, 4 > mUnk82a025
 
::ll::UntypedStorage< 8, 40 > mUnk2623b0
 
::ll::UntypedStorage< 4, 12 > mUnkc99a5f
 

Constructor & Destructor Documentation

◆ ScriptDebugger()

MCAPI ScriptDebugger::ScriptDebugger ( ::ScriptDebuggerSettings settings,
::ServerLevel & serverLevel,
::MinecraftCommands & commands,
::cereal::ReflectionCtx & ctx,
::Scripting::ScriptEngine & scriptEngine,
::ScriptPluginManager & pluginManager,
::IScriptDebuggerWatchdog & watchdog,
::IScriptTelemetryLogger & telemetry )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ getSettings()

virtual::ScriptDebuggerSettings const & ScriptDebugger::getSettings ( ) const
virtual

Implements IScriptDebugger.

◆ connect()

virtual bool ScriptDebugger::connect ( ::std::string const & host,
ushort port )
virtual

Implements IScriptDebugger.

◆ listen()

virtual bool ScriptDebugger::listen ( ushort port)
virtual

Implements IScriptDebugger.

◆ stop()

virtual void ScriptDebugger::stop ( )
virtual

Implements IScriptDebugger.

◆ startProfiler()

virtual void ScriptDebugger::startProfiler ( )
virtual

Implements IScriptDebugger.

◆ stopProfiler()

virtual ::std::vector<::Core::Path > ScriptDebugger::stopProfiler ( )
virtual

Implements IScriptDebugger.

◆ isStatPublisherEnabled()

virtual bool ScriptDebugger::isStatPublisherEnabled ( ) const
virtual

Implements IScriptStatPublisher.

◆ publishStats()

virtual void ScriptDebugger::publishStats ( uint64 collectedTick,
::std::vector<::ScriptStat > const & stats )
virtual

Implements IScriptStatPublisher.

◆ _debuggerMessageHandler()

MCAPI void ScriptDebugger::_debuggerMessageHandler ( ::std::string_view message)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _handleCommandMessage()

MCAPI void ScriptDebugger::_handleCommandMessage ( ::ScriptDebuggerMessages::CommandMessage const & commandMessage)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _handleStopProfilerMessage()

MCAPI void ScriptDebugger::_handleStopProfilerMessage ( ::ScriptDebuggerMessages::ProfilerMessage const & profilerMessage)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _sanitizeHostName()

MCAPI::std::string ScriptDebugger::_sanitizeHostName ( ::std::string const & host) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _sanitizePort()

MCAPI ushort ScriptDebugger::_sanitizePort ( uint port) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _sendNotification()

MCAPI void ScriptDebugger::_sendNotification ( ::LogLevel logLevel,
::std::string_view message )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _tryAttachRuntime()

MCAPI bool ScriptDebugger::_tryAttachRuntime ( bool expectRuntime)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _trySelectTarget()

MCAPI bool ScriptDebugger::_trySelectTarget ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ sendLog()

MCAPI void ScriptDebugger::sendLog ( ::LogLevel logLevel,
::std::string_view message )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ update()

MCAPI void ScriptDebugger::update ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ waitAutoAttach()

MCAPI void ScriptDebugger::waitAutoAttach ( ::std::chrono::seconds waitDuration)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * ScriptDebugger::$ctor ( ::ScriptDebuggerSettings settings,
::ServerLevel & serverLevel,
::MinecraftCommands & commands,
::cereal::ReflectionCtx & ctx,
::Scripting::ScriptEngine & scriptEngine,
::ScriptPluginManager & pluginManager,
::IScriptDebuggerWatchdog & watchdog,
::IScriptTelemetryLogger & telemetry )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void ScriptDebugger::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getSettings()

MCAPI::ScriptDebuggerSettings const & ScriptDebugger::$getSettings ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $connect()

MCAPI bool ScriptDebugger::$connect ( ::std::string const & host,
ushort port )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $listen()

MCAPI bool ScriptDebugger::$listen ( ushort port)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $stop()

MCAPI void ScriptDebugger::$stop ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $startProfiler()

MCAPI void ScriptDebugger::$startProfiler ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $stopProfiler()

MCAPI ::std::vector<::Core::Path > ScriptDebugger::$stopProfiler ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isStatPublisherEnabled()

MCAPI bool ScriptDebugger::$isStatPublisherEnabled ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $publishStats()

MCAPI void ScriptDebugger::$publishStats ( uint64 collectedTick,
::std::vector<::ScriptStat > const & stats )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForIScriptDebugger()

static MCAPI void ** ScriptDebugger::$vftableForIScriptDebugger ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForIScriptStatPublisher()

static MCAPI void ** ScriptDebugger::$vftableForIScriptStatPublisher ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DIAGNOSTICS_CAPTURES_FOLDER()

static MCAPI ::std::string_view const & IScriptDebugger::DIAGNOSTICS_CAPTURES_FOLDER ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PROFILER_CAPTURES_FOLDER()

static MCAPI ::std::string_view const & IScriptDebugger::PROFILER_CAPTURES_FOLDER ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: