Files
tbd-station-14/Content.Server/GameObjects/Components/Destructible/Thresholds/MinMax.cs
DrSmugleaf 764465f60c Separate destructible component threshold into behaviors (#2818)
* WIP changes, add behaviors

* Fix behavior typing, namespace and test

* NO SPACES
2020-12-23 13:34:57 +01:00

22 lines
531 B
C#

using Robust.Shared.Interfaces.Serialization;
using Robust.Shared.Serialization;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Destructible.Thresholds
{
public struct MinMax : IExposeData
{
[ViewVariables]
public int Min;
[ViewVariables]
public int Max;
public void ExposeData(ObjectSerializer serializer)
{
serializer.DataField(ref Min, "min", 0);
serializer.DataField(ref Max, "max", 0);
}
}
}