2020-06-23 02:55:50 +10:00
|
|
|
using Robust.Shared.GameObjects;
|
2020-08-12 01:36:40 +10:00
|
|
|
using Robust.Shared.Interfaces.GameObjects;
|
2020-06-23 02:55:50 +10:00
|
|
|
|
|
|
|
|
namespace Content.Server.GameObjects.Components.Access
|
|
|
|
|
{
|
|
|
|
|
public sealed class AccessReaderChangeMessage : EntitySystemMessage
|
|
|
|
|
{
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|