Make all prototype types partial (#21374)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Content.Server.NPC.Components
|
||||
/// Contains data about this faction's relations with other factions.
|
||||
/// </summary>
|
||||
[Prototype("npcFaction")]
|
||||
public sealed class NpcFactionPrototype : IPrototype
|
||||
public sealed partial class NpcFactionPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[IdDataField]
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Server.NPC.HTN;
|
||||
/// Represents a network of multiple tasks. This gets expanded out to its relevant nodes.
|
||||
/// </summary>
|
||||
[Prototype("htnCompound")]
|
||||
public sealed class HTNCompoundPrototype : IPrototype
|
||||
public sealed partial class HTNCompoundPrototype : IPrototype
|
||||
{
|
||||
[IdDataField] public string ID { get; } = string.Empty;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
|
||||
namespace Content.Server.NPC.Queries.Curves;
|
||||
|
||||
[Prototype("utilityCurvePreset")]
|
||||
public sealed class UtilityCurvePresetPrototype : IPrototype
|
||||
public sealed partial class UtilityCurvePresetPrototype : IPrototype
|
||||
{
|
||||
[IdDataField] public string ID { get; } = string.Empty;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Server.NPC.Queries;
|
||||
/// These results are then run through the considerations.
|
||||
/// </summary>
|
||||
[Prototype("utilityQuery")]
|
||||
public sealed class UtilityQueryPrototype : IPrototype
|
||||
public sealed partial class UtilityQueryPrototype : IPrototype
|
||||
{
|
||||
[IdDataField]
|
||||
public string ID { get; private set; } = default!;
|
||||
|
||||
Reference in New Issue
Block a user