Fix serv warnings (#4400)

This commit is contained in:
mirrorcult
2021-07-31 01:59:18 -07:00
committed by GitHub
parent dbc90f202a
commit f93bdcd226
6 changed files with 2 additions and 8 deletions

View File

@@ -10,7 +10,6 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
namespace Content.Server.Chemistry.ReagentEntityReactions namespace Content.Server.Chemistry.ReagentEntityReactions
{ {
[UsedImplicitly] [UsedImplicitly]
[DataDefinition]
public class AddToSolutionReaction : ReagentEntityReaction public class AddToSolutionReaction : ReagentEntityReaction
{ {
[DataField("reagents", true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer<ReagentPrototype>))] [DataField("reagents", true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer<ReagentPrototype>))]

View File

@@ -10,7 +10,6 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
namespace Content.Server.Chemistry.ReagentEntityReactions namespace Content.Server.Chemistry.ReagentEntityReactions
{ {
[UsedImplicitly] [UsedImplicitly]
[DataDefinition]
public class ExtinguishReaction : ReagentEntityReaction public class ExtinguishReaction : ReagentEntityReaction
{ {
[DataField("reagents", true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer<ReagentPrototype>))] [DataField("reagents", true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer<ReagentPrototype>))]

View File

@@ -10,7 +10,6 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
namespace Content.Server.Chemistry.ReagentEntityReactions namespace Content.Server.Chemistry.ReagentEntityReactions
{ {
[UsedImplicitly] [UsedImplicitly]
[DataDefinition]
public class FlammableReaction : ReagentEntityReaction public class FlammableReaction : ReagentEntityReaction
{ {
[DataField("reagents", true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer<ReagentPrototype>))] [DataField("reagents", true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer<ReagentPrototype>))]

View File

@@ -10,7 +10,6 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
namespace Content.Server.Chemistry.ReagentEntityReactions namespace Content.Server.Chemistry.ReagentEntityReactions
{ {
[UsedImplicitly] [UsedImplicitly]
[DataDefinition]
public class WashCreamPieReaction : ReagentEntityReaction public class WashCreamPieReaction : ReagentEntityReaction
{ {
[DataField("reagents", true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer<ReagentPrototype>))] [DataField("reagents", true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer<ReagentPrototype>))]

View File

@@ -12,7 +12,7 @@ namespace Content.Shared.Chemistry.Reagent
Ingestion, Ingestion,
} }
[DataDefinition] [ImplicitDataDefinitionForInheritors]
public abstract class ReagentEntityReaction public abstract class ReagentEntityReaction
{ {
[ViewVariables] [ViewVariables]

View File

@@ -8,13 +8,12 @@ using Robust.Shared.Utility;
namespace Content.Shared.Sound namespace Content.Shared.Sound
{ {
[DataDefinition] [ImplicitDataDefinitionForInheritors]
public abstract class SoundSpecifier public abstract class SoundSpecifier
{ {
public abstract string GetSound(); public abstract string GetSound();
} }
[DataDefinition]
public sealed class SoundPathSpecifier : SoundSpecifier public sealed class SoundPathSpecifier : SoundSpecifier
{ {
public const string Node = "path"; public const string Node = "path";
@@ -42,7 +41,6 @@ namespace Content.Shared.Sound
} }
} }
[DataDefinition]
public sealed class SoundCollectionSpecifier : SoundSpecifier public sealed class SoundCollectionSpecifier : SoundSpecifier
{ {
public const string Node = "collection"; public const string Node = "collection";