Make all prototype types partial (#21374)

This commit is contained in:
DrSmugleaf
2023-11-01 19:56:23 -07:00
committed by GitHub
parent aa0c3b64ea
commit 2d58d19b07
105 changed files with 111 additions and 126 deletions

View File

@@ -14,7 +14,7 @@ namespace Content.Shared.Damage.Prototypes
/// </remarks>
[Prototype("damageContainer")]
[Serializable, NetSerializable]
public sealed class DamageContainerPrototype : IPrototype
public sealed partial class DamageContainerPrototype : IPrototype
{
[ViewVariables]
[IdDataField]

View File

@@ -13,7 +13,7 @@ namespace Content.Shared.Damage.Prototypes
/// </remarks>
[Prototype("damageGroup", 2)]
[Serializable, NetSerializable]
public sealed class DamageGroupPrototype : IPrototype
public sealed partial class DamageGroupPrototype : IPrototype
{
[IdDataField] public string ID { get; } = default!;

View File

@@ -6,7 +6,7 @@ namespace Content.Shared.Damage.Prototypes
/// A single damage type. These types are grouped together in <see cref="DamageGroupPrototype"/>s.
/// </summary>
[Prototype("damageType")]
public sealed class DamageTypePrototype : IPrototype
public sealed partial class DamageTypePrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;

View File

@@ -6,7 +6,7 @@ namespace Content.Shared.Damage.Prototypes;
/// Prototype for examinable damage messages.
/// </summary>
[Prototype("examinableDamage")]
public sealed class ExaminableDamagePrototype : IPrototype
public sealed partial class ExaminableDamagePrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;