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

ScriptDebugger & operator= (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::Path > stopProfiler ()
virtual bool isStatPublisherEnabled () const
virtual void publishStats (uint64 collectedTick, ::std::vector<::DebuggerStat > const &stats)
MCAPI ScriptDebugger (::ScriptDebuggerSettings settings, ::ServerLevel &serverLevel, ::MinecraftCommands &commands, ::cereal::ReflectionCtx &ctx, ::Scripting::ScriptEngine &scriptEngine, ::ScriptPluginManager &pluginManager, ::IScriptDebuggerWatchdog &watchdog, ::IScriptTelemetryLogger &telemetry, ::Bedrock::NonOwnerPointer<::LocalProfilerControlBroker > const &profilerControlBroker)
MCAPI void _debuggerMessageHandler (::std::string_view message)
MCAPI void _handleDebuggerRequestMessage (::ScriptDebuggerMessages::DebuggerRequestMessage const &debuggerRequestPayload)
MCAPI::std::string _sanitizeHostName (::std::string const &host) const
MCAPI void _sendNotification (::LogLevel logLevel, ::std::string_view message)
MCAPI bool _tryAttachRuntime (bool expectRuntime)
MCAPI bool _trySelectTarget ()
MCAPI void registerDebuggerRequestHandler (::std::string_view command, ::std::function< void(::ScriptDebuggerMessages::DebuggerRequestMessage const &, ::ScriptDebugger &)> handler)
MCAPI void sendDebuggeeResponse (int requestSeq, bool success, ::std::string_view responseMessage, ::std::optional<::cereal::DynamicValue > args)
MCAPI void sendLog (::LogLevel logLevel, ::std::string_view message)
MCAPI void sendViews ()
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, ::Bedrock::NonOwnerPointer<::LocalProfilerControlBroker > const &profilerControlBroker)
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<::DebuggerStat > const &stats)

Public Attributes

::ll::UntypedStorage< 8, 144 > 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 > mUnka973d0
::ll::UntypedStorage< 8, 8 > mUnk102427
::ll::UntypedStorage< 8, 8 > mUnk8ca513
::ll::UntypedStorage< 8, 8 > mUnkde53e6
::ll::UntypedStorage< 4, 4 > mUnk1e8970
::ll::UntypedStorage< 8, 32 > mUnk5186f8
::ll::UntypedStorage< 4, 4 > mUnk82a025
::ll::UntypedStorage< 8, 24 > mUnk89c845
::ll::UntypedStorage< 8, 24 > mUnk50622d
::ll::UntypedStorage< 8, 64 > mUnk89cb81
::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,
::Bedrock::NonOwnerPointer<::LocalProfilerControlBroker > const & profilerControlBroker )
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

◆ publishStats()

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

◆ _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.

◆ _handleDebuggerRequestMessage()

MCAPI void ScriptDebugger::_handleDebuggerRequestMessage ( ::ScriptDebuggerMessages::DebuggerRequestMessage const & debuggerRequestPayload)
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.

◆ _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.

◆ registerDebuggerRequestHandler()

MCAPI void ScriptDebugger::registerDebuggerRequestHandler ( ::std::string_view command,
::std::function< void(::ScriptDebuggerMessages::DebuggerRequestMessage const &, ::ScriptDebugger &)> handler )
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.

◆ sendDebuggeeResponse()

MCAPI void ScriptDebugger::sendDebuggeeResponse ( int requestSeq,
bool success,
::std::string_view responseMessage,
::std::optional<::cereal::DynamicValue > args )
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.

◆ sendViews()

MCAPI void ScriptDebugger::sendViews ( )
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,
::Bedrock::NonOwnerPointer<::LocalProfilerControlBroker > const & profilerControlBroker )
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<::DebuggerStat > 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.

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