Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptDebugCommand Class Referenceabstract
Inheritance diagram for ScriptDebugCommand:

Public Types

enum class  DebuggerAction : int { Listen = 0 , Connect = 1 , Close = 2 }
enum class  DiagnosticsAction : int { StartCapture = 0 , StopCapture = 1 }
enum class  Mode : int { Unknown = 0 , Debugger = 1 , Profiler = 2 , Diagnostics = 3 }
enum class  ProfilerAction : int { Start = 0 , Stop = 1 }

Public Member Functions

MCAPI void _handleDebuggerAttach (::IScriptDebugger *debugger, ::std::string const &locPrefix, ::ScriptDebugCommand::DebuggerAction action, ::std::string const &host, ushort port, ::CommandOutput &output) const
MCAPI void _handleDiagnosticsAction (::DebuggerDiagnosticsPublishToFile *diagnosticsPublishToFile, ::std::string const &locPrefix, ::ScriptDebugCommand::DiagnosticsAction action, ::CommandOutput &output) const
MCAPI void _handleProfilerAction (::IScriptDebugger *debugger, ::std::string const &locPrefix, ::ScriptDebugCommand::ProfilerAction action, ::CommandOutput &output) const
LLNDAPI std::string getCommandName () const
virtual bool collectOptionalArguments ()
virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) const =0
MCAPI void run (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void sendTelemetry (::CommandOrigin const &origin, ::CommandOutput &output) const
MCFOLD bool $collectOptionalArguments ()

Static Public Member Functions

static MCAPI bool isWildcard (::CommandSelectorBase const &selector)
static MCAPI bool shouldUseCommandOriginRotation (::CommandOrigin const &origin, int version)
static MCAPI bool validRange (int input, int low, int high, ::CommandOutput &output)
static MCAPI bool validRange (float input, float low, float high, ::CommandOutput &output)

Public Attributes

::ll::TypedStorage< 4, 4, int > mVersion
::ll::TypedStorage< 8, 8, ::CommandRegistry const * > mRegistry
::ll::TypedStorage< 4, 4, int > mCommandSymbol
::ll::TypedStorage< 1, 1, ::CommandPermissionLevel > mPermissionLevel
::ll::TypedStorage< 2, 2, ::CommandFlag > mFlags

Member Function Documentation

◆ _handleDebuggerAttach()

MCAPI void ScriptDebugCommand::_handleDebuggerAttach ( ::IScriptDebugger * debugger,
::std::string const & locPrefix,
::ScriptDebugCommand::DebuggerAction action,
::std::string const & host,
ushort port,
::CommandOutput & output ) 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.

◆ _handleDiagnosticsAction()

MCAPI void ScriptDebugCommand::_handleDiagnosticsAction ( ::DebuggerDiagnosticsPublishToFile * diagnosticsPublishToFile,
::std::string const & locPrefix,
::ScriptDebugCommand::DiagnosticsAction action,
::CommandOutput & output ) 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.

◆ _handleProfilerAction()

MCAPI void ScriptDebugCommand::_handleProfilerAction ( ::IScriptDebugger * debugger,
::std::string const & locPrefix,
::ScriptDebugCommand::ProfilerAction action,
::CommandOutput & output ) 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.

◆ isWildcard()

MCAPI bool Command::isWildcard ( ::CommandSelectorBase const & selector)
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.

◆ shouldUseCommandOriginRotation()

MCAPI bool Command::shouldUseCommandOriginRotation ( ::CommandOrigin const & origin,
int version )
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.

◆ validRange()

MCAPI bool Command::validRange ( float input,
float low,
float high,
::CommandOutput & output )
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: