Cleanup: Remove redundant prototype name specifications (#35793)

* Remove redundant prototype name specifications

* These can stay
This commit is contained in:
Tayrtahn
2025-03-19 14:30:31 -04:00
committed by GitHub
parent 916661944b
commit 86aa82f2b6
107 changed files with 109 additions and 109 deletions

View File

@@ -12,7 +12,7 @@ namespace Content.Shared.Damage.Prototypes
/// and damage groups. Currently this is only used to specify what damage types a <see
/// cref="DamageableComponent"/> should support.
/// </remarks>
[Prototype("damageContainer")]
[Prototype]
[Serializable, NetSerializable]
public sealed partial class DamageContainerPrototype : IPrototype
{

View File

@@ -11,7 +11,7 @@ namespace Content.Shared.Damage.Prototypes
/// These groups can be used to specify supported damage types of a <see cref="DamageContainerPrototype"/>, or
/// to change/get/set damage in a <see cref="DamageableComponent"/>.
/// </remarks>
[Prototype("damageGroup", 2)]
[Prototype(2)]
[Serializable, NetSerializable]
public sealed partial class DamageGroupPrototype : IPrototype
{

View File

@@ -9,7 +9,7 @@ namespace Content.Shared.Damage.Prototypes
/// Done to avoid removing the 'required' tag on the ID and passing around a 'prototype' when we really
/// just want normal data to be deserialized.
/// </remarks>
[Prototype("damageModifierSet")]
[Prototype]
public sealed partial class DamageModifierSetPrototype : DamageModifierSet, IPrototype
{
[ViewVariables]

View File

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

View File

@@ -5,7 +5,7 @@ namespace Content.Shared.Damage.Prototypes;
/// <summary>
/// Prototype for examinable damage messages.
/// </summary>
[Prototype("examinableDamage")]
[Prototype]
public sealed partial class ExaminableDamagePrototype : IPrototype
{
[IdDataField]