using JetBrains.Annotations;
using Robust.Shared.GameObjects;
namespace Robust.Shared.Containers
{
///
/// Raised when the contents of a container have been modified.
///
[PublicAPI]
public abstract class ContainerModifiedMessage : EntityEventArgs
{
///
/// The container being acted upon.
///
public IContainer Container { get; }
///
/// The entity that was removed or inserted from/into the container.
///
public IEntity Entity { get; }
protected ContainerModifiedMessage(IEntity entity, IContainer container)
{
Entity = entity;
Container = container;
}
}
}