* init * some bonus stuff * CheckForAnyReaders * reader * doc * review * fuck yaml * Me when I push changes myshelf --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
24 lines
727 B
C#
24 lines
727 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.FingerprintReader;
|
|
|
|
/// <summary>
|
|
/// Component for checking if a user's fingerprint matches allowed fingerprints
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(FingerprintReaderSystem))]
|
|
public sealed partial class FingerprintReaderComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The fingerprints that are allowed to access this entity.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public HashSet<string> AllowedFingerprints = new();
|
|
|
|
/// <summary>
|
|
/// Whether to ignore gloves when checking fingerprints.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public bool IgnoreGloves;
|
|
}
|