2024-07-28 17:26:47 +03:00
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
2024-08-01 11:52:27 +03:00
|
|
|
namespace Content.Shared._CP14.MagicSpell.Components;
|
2024-07-28 17:26:47 +03:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a temporary entity that exists while the spell is cast, and disappears at the end. For visual special effects.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent, Access(typeof(CP14SharedMagicSystem))]
|
|
|
|
|
public sealed partial class CP14MagicEffectCastingVisualComponent : Component
|
|
|
|
|
{
|
|
|
|
|
[DataField]
|
|
|
|
|
public EntityUid? SpawnedEntity;
|
|
|
|
|
|
|
|
|
|
[DataField(required: true)]
|
|
|
|
|
public EntProtoId Proto = default!;
|
|
|
|
|
}
|