}
[DataRecord]
-public record struct AnomalySpawnSettings()
+public partial record struct AnomalySpawnSettings()
{
/// <summary>
/// should entities block spawning?
{
/// <inheritdoc/>
[IdDataField]
- public string ID { get; } = default!;
+ public string ID { get; private set; } = default!;
/// <summary>
/// Full IC name of the account.
/// Dispatched when a new task is created
/// </summary>
[Serializable, NetSerializable, DataRecord]
-public sealed class NanoTaskAddTask : INanoTaskUiMessagePayload
+public sealed partial class NanoTaskAddTask : INanoTaskUiMessagePayload
{
/// <summary>
/// The newly created task
/// Dispatched when an existing task is modified
/// </summary>
[Serializable, NetSerializable, DataRecord]
-public sealed class NanoTaskUpdateTask : INanoTaskUiMessagePayload
+public sealed partial class NanoTaskUpdateTask : INanoTaskUiMessagePayload
{
/// <summary>
/// The task that was updated and its ID
/// Dispatched when an existing task is deleted
/// </summary>
[Serializable, NetSerializable, DataRecord]
-public sealed class NanoTaskDeleteTask : INanoTaskUiMessagePayload
+public sealed partial class NanoTaskDeleteTask : INanoTaskUiMessagePayload
{
/// <summary>
/// The ID of the task to delete
/// Dispatched when a task is requested to be printed
/// </summary>
[Serializable, NetSerializable, DataRecord]
-public sealed class NanoTaskPrintTask : INanoTaskUiMessagePayload
+public sealed partial class NanoTaskPrintTask : INanoTaskUiMessagePayload
{
/// <summary>
/// The NanoTask to print
/// The data relating to a single NanoTask item, but not its identifier
/// </summary>
[Serializable, NetSerializable, DataRecord]
-public sealed class NanoTaskItem
+public sealed partial class NanoTaskItem
{
/// <summary>
/// The maximum length of the Description and TaskIsFor fields
/// Pairs a NanoTask item and its identifier
/// </summary>
[Serializable, NetSerializable, DataRecord]
-public sealed class NanoTaskItemAndId
+public sealed partial class NanoTaskItemAndId
{
public readonly int Id;
public readonly NanoTaskItem Data;
public string ID { get; private set; } = default!;
[ParentDataField(typeof(PrototypeIdArraySerializer<CloningSettingsPrototype>))]
- public string[]? Parents { get; }
+ public string[]? Parents { get; private set; }
[AbstractDataField]
[NeverPushInheritance]
- public bool Abstract { get; }
+ public bool Abstract { get; private set; }
/// <summary>
/// Determines if cloning can be prevented by traits etc.
/// Contains the parameters for an RCD construction / operation
/// </summary>
[Prototype("rcd")]
-public sealed class RCDPrototype : IPrototype
+public sealed partial class RCDPrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;
public sealed partial class StationAiCustomizationGroupPrototype : IPrototype
{
[IdDataField]
- public string ID { get; } = string.Empty;
+ public string ID { get; private set; } = string.Empty;
/// <summary>
/// The localized name of the customization.
public sealed partial class StationAiCustomizationPrototype : IPrototype, IInheritingPrototype
{
[IdDataField]
- public string ID { get; } = string.Empty;
+ public string ID { get; private set; } = string.Empty;
/// <summary>
/// The (unlocalized) name of the customization.
/// </summary>
[ViewVariables]
[ParentDataFieldAttribute(typeof(AbstractPrototypeIdArraySerializer<StationAiCustomizationPrototype>))]
- public string[]? Parents { get; }
+ public string[]? Parents { get; private set; }
/// <summary>
/// Specifies whether the prototype is abstract.
[ViewVariables]
[NeverPushInheritance]
[AbstractDataField]
- public bool Abstract { get; }
+ public bool Abstract { get; private set; }
}
{
/// <inheritdoc/>
[IdDataField]
- public string ID { get; } = default!;
+ public string ID { get; private set; } = default!;
/// <summary>
/// Tip for user on how to activate this trigger.