ECS Arcade Machines (#16791)

This commit is contained in:
TemporalOroboros
2023-06-15 04:25:25 -07:00
committed by GitHub
parent b72ab3b00c
commit bc3f42d822
23 changed files with 2116 additions and 1521 deletions

View File

@@ -0,0 +1,22 @@
using Robust.Server.Player;
namespace Content.Server.Arcade.BlockGame;
[RegisterComponent]
public sealed 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();
}