Improves and cleans up TabletopSystem further. (#4633)
This commit is contained in:
committed by
GitHub
parent
08d6801ec5
commit
a9b3b5136b
18
Content.Server/Tabletop/Components/TabletopGamerComponent.cs
Normal file
18
Content.Server/Tabletop/Components/TabletopGamerComponent.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Robust.Shared.Analyzers;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Server.Tabletop.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// Component for marking an entity as currently playing a tabletop.
|
||||
/// </summary>
|
||||
[RegisterComponent, Friend(typeof(TabletopSystem))]
|
||||
public class TabletopGamerComponent : Component
|
||||
{
|
||||
public override string Name => "TabletopGamer";
|
||||
|
||||
[DataField("tabletop")]
|
||||
public EntityUid Tabletop { get; set; } = EntityUid.Invalid;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user