2022-01-18 16:44:22 -05:00
|
|
|
|
using System.Text.Json.Serialization;
|
2021-11-08 15:33:45 -07:00
|
|
|
|
using JetBrains.Annotations;
|
2021-07-31 04:50:32 -07:00
|
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Chemistry.Reagent
|
|
|
|
|
|
{
|
|
|
|
|
|
[ImplicitDataDefinitionForInheritors]
|
2021-11-08 15:33:45 -07:00
|
|
|
|
[MeansImplicitUse]
|
2021-07-31 04:50:32 -07:00
|
|
|
|
public abstract class ReagentEffectCondition
|
|
|
|
|
|
{
|
2022-01-18 16:44:22 -05:00
|
|
|
|
[JsonPropertyName("id")] private protected string _id => this.GetType().Name;
|
|
|
|
|
|
|
2021-11-10 03:11:28 -07:00
|
|
|
|
public abstract bool Condition(ReagentEffectArgs args);
|
2021-07-31 04:50:32 -07:00
|
|
|
|
}
|
|
|
|
|
|
}
|