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