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
{
[UsedImplicitly]
[DataDefinition]
public class AddToSolutionReaction : ReagentEntityReaction
{
[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
{
[UsedImplicitly]
[DataDefinition]
public class ExtinguishReaction : ReagentEntityReaction
{
[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
{
[UsedImplicitly]
[DataDefinition]
public class FlammableReaction : ReagentEntityReaction
{
[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
{
[UsedImplicitly]
[DataDefinition]
public class WashCreamPieReaction : ReagentEntityReaction
{
[DataField("reagents", true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer<ReagentPrototype>))]

View File

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

View File

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