26 lines
454 B
C#
26 lines
454 B
C#
using SRDebugger.Services;
|
|
using SRDebugger.Services.Implementation;
|
|
using SRF.Service;
|
|
|
|
public static class SRDebug
|
|
{
|
|
public const string Version = "1.4.6";
|
|
|
|
public static IDebugService Instance
|
|
{
|
|
get
|
|
{
|
|
return SRServiceManager.GetService<IDebugService>();
|
|
}
|
|
}
|
|
|
|
public static void Init()
|
|
{
|
|
if (!SRServiceManager.HasService<IConsoleService>())
|
|
{
|
|
new StandardConsoleService();
|
|
}
|
|
SRServiceManager.GetService<IDebugService>();
|
|
}
|
|
}
|