mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
24 lines
1002 B
C#
24 lines
1002 B
C#
using JetBrains.Annotations;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Robust.Shared.Containers
|
|
{
|
|
/// <summary>
|
|
/// Raised when an entity is removed from a container. Directed at the container. This gets called BEFORE the entity gets re-parented. I.e., the current parent is the container.
|
|
/// </summary>
|
|
[PublicAPI]
|
|
public sealed class EntRemovedFromContainerMessage : ContainerModifiedMessage
|
|
{
|
|
public EntRemovedFromContainerMessage(EntityUid entity, BaseContainer container) : base(entity, container) { }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Raised when an entity is removed from a container. Directed at the entity. This gets called BEFORE the entity gets re-parented. I.e., the current parent is the container.
|
|
/// </summary>
|
|
[PublicAPI]
|
|
public sealed class EntGotRemovedFromContainerMessage : ContainerModifiedMessage
|
|
{
|
|
public EntGotRemovedFromContainerMessage(EntityUid entity, BaseContainer container) : base(entity, container) { }
|
|
}
|
|
}
|