Delta-v/Content.Server/DeltaV/Mail/Components/DelayedItemComponent.cs

17 lines
525 B
C#

namespace Content.Server.DeltaV.Mail.Components
{
/// <summary>
/// A placeholder for another entity, spawned when dropped or placed in someone's hands.
/// Useful for storing instant effect entities, e.g. smoke, in the mail.
/// </summary>
[RegisterComponent]
public sealed partial class DelayedItemComponent : Component
{
/// <summary>
/// The entity to replace this when opened or dropped.
/// </summary>
[DataField]
public string Item = "None";
}
}