mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
move borg ui junk to shared (cherry picked from commit e4094b1909feaf31ffe8bd140a9d00289213a69b)
18 lines
536 B
C#
18 lines
536 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Lock;
|
|
|
|
/// <summary>
|
|
/// This is used for activatable UIs that require the entity to have a lock in a certain state.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(LockSystem))]
|
|
public sealed partial class ActivatableUIRequiresLockComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// TRUE: the lock must be locked to access the UI.
|
|
/// FALSE: the lock must be unlocked to access the UI.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool RequireLocked;
|
|
}
|