mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Cleanup: Remove redundant Prototype names (#5721)
* Cleanup: Remove redundant Prototype names * Actually this one probably should stay * Suppress warning * Remove warning suppression on AudioMetadataPrototype * But wait, there's more!
This commit is contained in:
@@ -16,7 +16,7 @@ using Vector4 = Robust.Shared.Maths.Vector4;
|
||||
|
||||
namespace Robust.Client.Graphics
|
||||
{
|
||||
[Prototype("shader")]
|
||||
[Prototype]
|
||||
public sealed partial class ShaderPrototype : IPrototype, ISerializationHooks
|
||||
{
|
||||
[ViewVariables]
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.Utility;
|
||||
|
||||
namespace Robust.Client.UserInterface.RichText;
|
||||
|
||||
[Prototype("font")]
|
||||
[Prototype]
|
||||
public sealed partial class FontPrototype : IPrototype
|
||||
{
|
||||
[IdDataField]
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Robust.Shared.Audio;
|
||||
/// Contains audio defaults to set for sounds.
|
||||
/// This can be used by <see cref="Content.Shared.Audio.SharedContentAudioSystem"/> to apply an audio preset.
|
||||
/// </summary>
|
||||
[Prototype("audioPreset")]
|
||||
[Prototype]
|
||||
public sealed partial class AudioPresetPrototype : IPrototype
|
||||
{
|
||||
[IdDataField]
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Robust.Shared.Audio;
|
||||
|
||||
[Prototype("soundCollection")]
|
||||
[Prototype]
|
||||
public sealed partial class SoundCollectionPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Robust.Shared.Prototypes;
|
||||
/// Prototype that represents some entity prototype category.
|
||||
/// Useful for sorting or grouping entity prototypes for mapping/spawning UIs.
|
||||
/// </summary>
|
||||
[Prototype("entityCategory")]
|
||||
[Prototype]
|
||||
public sealed partial class EntityCategoryPrototype : IPrototype
|
||||
{
|
||||
[IdDataField] public string ID { get; private set; } = default!;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Robust.Shared.Prototypes
|
||||
/// <summary>
|
||||
/// Prototype that represents game entities.
|
||||
/// </summary>
|
||||
[Prototype("entity", -1)]
|
||||
[Prototype(-1)]
|
||||
public sealed partial class EntityPrototype : IPrototype, IInheritingPrototype, ISerializationHooks
|
||||
{
|
||||
private ILocalizationManager _loc = default!;
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Robust.Shared.Prototypes;
|
||||
/// <summary>
|
||||
/// Prototype that represents an alias from one tile ID to another. These are used when deserializing entities from yaml.
|
||||
/// </summary>
|
||||
[Prototype("tileAlias")]
|
||||
[Prototype]
|
||||
public sealed partial class TileAliasPrototype : IPrototype
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user