mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
15 lines
494 B
C#
15 lines
494 B
C#
namespace Content.Shared.EntityEffects;
|
|
|
|
/// <summary>
|
|
/// Applies a set of EntityEffects to the entity upon map initialization.
|
|
/// <remarks>Useful for e.g. station spawning.</remarks>
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class EntityEffectOnMapInitComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Effects that should be applied upon the map being initiated.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public EntityEffect[] Effects { get; set; } = default!;
|
|
}
|