19 lines
560 B
C#
19 lines
560 B
C#
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;
|
|
}
|
|
}
|