mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 13:07:07 +01:00
Nullify ISessionControllerFactory
This commit is contained in:
@@ -5,8 +5,6 @@ using Tgstation.Server.Api.Models.Internal;
|
||||
using Tgstation.Server.Host.Components.Deployment;
|
||||
using Tgstation.Server.Host.Components.Engine;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.Components.Session
|
||||
{
|
||||
/// <summary>
|
||||
@@ -18,14 +16,14 @@ namespace Tgstation.Server.Host.Components.Session
|
||||
/// Create a <see cref="ISessionController"/> from a freshly launch DreamDaemon instance.
|
||||
/// </summary>
|
||||
/// <param name="dmbProvider">The <see cref="IDmbProvider"/> to use.</param>
|
||||
/// <param name="currentByondLock">The current <see cref="IEngineExecutableLock"/> if any.</param>
|
||||
/// <param name="currentByondLock">The current <see cref="IEngineExecutableLock"/>. if any.</param>
|
||||
/// <param name="launchParameters">The <see cref="DreamDaemonLaunchParameters"/> to use. <see cref="DreamDaemonLaunchParameters.SecurityLevel"/> will be updated with the minumum required security level for the launch.</param>
|
||||
/// <param name="apiValidate">If the <see cref="ISessionController"/> should only validate the DMAPI then exit.</param>
|
||||
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the operation.</param>
|
||||
/// <returns>A <see cref="ValueTask{TResult}"/> resulting in a new <see cref="ISessionController"/>.</returns>
|
||||
ValueTask<ISessionController> LaunchNew(
|
||||
IDmbProvider dmbProvider,
|
||||
IEngineExecutableLock currentByondLock,
|
||||
IEngineExecutableLock? currentByondLock,
|
||||
DreamDaemonLaunchParameters launchParameters,
|
||||
bool apiValidate,
|
||||
CancellationToken cancellationToken);
|
||||
|
||||
Reference in New Issue
Block a user