22 lines
520 B
C#
22 lines
520 B
C#
using Robust.Shared.Interfaces.Serialization;
|
|
using Robust.Shared.Serialization;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Content.Server.GameObjects.Components.Destructible
|
|
{
|
|
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);
|
|
}
|
|
}
|
|
}
|