ECS Arcade Machines (#16791)
This commit is contained in:
22
Content.Server/Arcade/BlockGame/BlockGameArcadeComponent.cs
Normal file
22
Content.Server/Arcade/BlockGame/BlockGameArcadeComponent.cs
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user