2023-10-28 09:59:53 +11:00
|
|
|
using Robust.Shared.Player;
|
2023-06-15 04:25:25 -07:00
|
|
|
|
|
|
|
|
namespace Content.Server.Arcade.BlockGame;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class BlockGameArcadeComponent : Component
|
2023-06-15 04:25:25 -07:00
|
|
|
{
|
|
|
|
|
/// <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>
|
2023-10-28 09:59:53 +11:00
|
|
|
public ICommonSession? Player = null;
|
2023-06-15 04:25:25 -07:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The players currently viewing (but not playing) the active session of NT-BG.
|
|
|
|
|
/// </summary>
|
2023-10-28 09:59:53 +11:00
|
|
|
public readonly List<ICommonSession> Spectators = new();
|
2023-06-15 04:25:25 -07:00
|
|
|
}
|