mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 17:47:24 +02:00
20 lines
645 B
C#
20 lines
645 B
C#
using JetBrains.Annotations;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Robust.Shared.Containers
|
|
{
|
|
/// <summary>
|
|
/// Raised when an entity is inserted into a container. This is raised AFTER the entity has been re-parented. I.e., the current parent is the container.
|
|
/// </summary>
|
|
[PublicAPI]
|
|
public sealed class EntInsertedIntoContainerMessage : ContainerModifiedMessage
|
|
{
|
|
public readonly EntityUid OldParent;
|
|
|
|
public EntInsertedIntoContainerMessage(EntityUid entity, EntityUid oldParent, BaseContainer container) : base(entity, container)
|
|
{
|
|
OldParent = oldParent;
|
|
}
|
|
}
|
|
}
|