Adds T-ray Scanners (#5420)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Players;
|
||||
@@ -39,6 +40,26 @@ namespace Content.Shared.SubFloor
|
||||
{
|
||||
return new SubFloorHideComponentState(Enabled, RequireAnchored);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not this entity is supposed
|
||||
/// to be visible.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public bool Visible { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The entities this subfloor is revealed by.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public HashSet<EntityUid> RevealedBy { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not this entity was revealed with or without
|
||||
/// an entity.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public bool RevealedWithoutEntity { get; set; }
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
|
||||
Reference in New Issue
Block a user