Nullify BridgeParameters

This commit is contained in:
Jordan Dominion
2023-12-23 09:52:55 -05:00
parent 51d78df776
commit a6d557eabe
@@ -4,8 +4,6 @@ using System.Collections.Generic;
using Tgstation.Server.Api.Models;
using Tgstation.Server.Host.Components.Chat.Commands;
#nullable disable
namespace Tgstation.Server.Host.Components.Interop.Bridge
{
/// <summary>
@@ -26,12 +24,12 @@ namespace Tgstation.Server.Host.Components.Interop.Bridge
/// <summary>
/// The DMAPI <see cref="global::System.Version"/> for <see cref="BridgeCommandType.Startup"/> requests.
/// </summary>
public Version Version { get; set; }
public Version? Version { get; set; }
/// <summary>
/// The DMAPI <see cref="CustomCommand"/>s for <see cref="BridgeCommandType.Startup"/> requests.
/// </summary>
public ICollection<CustomCommand> CustomCommands { get; set; }
public ICollection<CustomCommand>? CustomCommands { get; set; }
/// <summary>
/// The minimum required <see cref="DreamDaemonSecurity"/> level for <see cref="BridgeCommandType.Startup"/> requests.
@@ -41,12 +39,12 @@ namespace Tgstation.Server.Host.Components.Interop.Bridge
/// <summary>
/// The <see cref="Interop.ChatMessage"/> for <see cref="BridgeCommandType.ChatSend"/> requests.
/// </summary>
public ChatMessage ChatMessage { get; set; }
public ChatMessage? ChatMessage { get; set; }
/// <summary>
/// The <see cref="ChunkData"/> for <see cref="BridgeCommandType.Chunk"/> requests.
/// </summary>
public ChunkData Chunk { get; set; }
public ChunkData? Chunk { get; set; }
/// <summary>
/// The port that should be used to send world topics, if not the default.