Delta-v/Content.Shared/Trigger/Components/Triggers/TriggerOnGotRemovedFromCont...

19 lines
629 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Trigger.Components.Triggers;
/// <summary>
/// Triggers an entity when it gets removed from a container.
/// The user is the owner of the container the entity is being removed from.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class TriggerOnGotRemovedFromContainerComponent : BaseTriggerOnXComponent
{
/// <summary>
/// The container to the entity has to be removed from.
/// Null will allow all containers.
/// </summary>
[DataField, AutoNetworkedField]
public string? ContainerId;
}