Make all prototype types partial (#21374)
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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!;
|
||||
|
||||
|
||||
@@ -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!;
|
||||
|
||||
@@ -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!;
|
||||
|
||||
Reference in New Issue
Block a user