Files
crystall-punk-14/Content.Shared/GameObjects/Components/Singularity/SharedSingularityComponent.cs

26 lines
673 B
C#
Raw Normal View History

using Robust.Shared.GameObjects;
using Robust.Shared.Serialization;
using System;
namespace Content.Shared.GameObjects.Components.Singularity
{
public abstract class SharedSingularityComponent : Component
{
public override string Name => "Singularity";
public override uint? NetID => ContentNetIDs.SINGULARITY;
[Serializable, NetSerializable]
protected sealed class SingularityComponentState : ComponentState
{
public int Level { get; }
public SingularityComponentState(int level) : base(ContentNetIDs.SINGULARITY)
{
Level = level;
}
}
}
}