Files
tbd-station-14/Content.Server/Lock/Components/ActivatableUIRequiresLockComponent.cs
themias c7c49df357 Fix cyborg locking (#21809)
* Fix cyborg locking

* Revert "Fix cyborg locking"

This reverts commit bd5bbbb8b46edb720a9d479772f7931f5f497907.

* create generic component

* update submodules

* Revert "update submodules"

This reverts commit 303200f298f1c56660955d13caa8218b02e306ad.
2023-11-22 12:16:02 -05:00

16 lines
526 B
C#

namespace Content.Server.Lock.Components;
/// <summary>
/// This is used for activatable UIs that require the entity to have a lock in a certain state.
/// </summary>
[RegisterComponent]
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("requireLocked"), ViewVariables(VVAccess.ReadWrite)]
public bool requireLocked = false;
}