1
0

LockingWhitelistComponent.cs 539 B

123456789101112131415161718
  1. using Content.Shared.Whitelist;
  2. using Robust.Shared.GameStates;
  3. namespace Content.Shared.Lock;
  4. /// <summary>
  5. /// Adds whitelist and blacklist for this mob to lock things.
  6. /// The whitelist and blacklist are checked against the object being locked, not the mob.
  7. /// </summary>
  8. [RegisterComponent, NetworkedComponent, Access(typeof(LockingWhitelistSystem))]
  9. public sealed partial class LockingWhitelistComponent : Component
  10. {
  11. [DataField]
  12. public EntityWhitelist? Whitelist;
  13. [DataField]
  14. public EntityWhitelist? Blacklist;
  15. }