2020-06-23 02:55:50 +10:00
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Server.Access
|
2020-06-23 02:55:50 +10:00
|
|
|
{
|
2021-03-09 11:22:48 -08:00
|
|
|
public sealed class AccessReaderChangeMessage : EntityEventArgs
|
2020-06-23 02:55:50 +10:00
|
|
|
{
|
2020-08-12 01:36:40 +10:00
|
|
|
public IEntity Sender { get; }
|
|
|
|
|
|
2020-06-23 02:55:50 +10:00
|
|
|
public bool Enabled { get; }
|
|
|
|
|
|
2020-08-12 01:36:40 +10:00
|
|
|
public AccessReaderChangeMessage(IEntity entity, bool enabled)
|
2020-06-23 02:55:50 +10:00
|
|
|
{
|
2020-08-12 01:36:40 +10:00
|
|
|
Sender = entity;
|
2020-06-23 02:55:50 +10:00
|
|
|
Enabled = enabled;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-06-09 22:19:39 +02:00
|
|
|
}
|