Cleanup: Remove redundant prototype name specifications (#35793)
* Remove redundant prototype name specifications * These can stay
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user