23 lines
611 B
C#
23 lines
611 B
C#
using Robust.Server.Player;
|
|
|
|
namespace Content.Server.Arcade.BlockGame;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class BlockGameArcadeComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The currently active session of NT-BG.
|
|
/// </summary>
|
|
public BlockGame? Game = null;
|
|
|
|
/// <summary>
|
|
/// The player currently playing the active session of NT-BG.
|
|
/// </summary>
|
|
public IPlayerSession? Player = null;
|
|
|
|
/// <summary>
|
|
/// The players currently viewing (but not playing) the active session of NT-BG.
|
|
/// </summary>
|
|
public readonly List<IPlayerSession> Spectators = new();
|
|
}
|