6
StarHorizon_Public/Content.Server/ParticleAccelerator/Components/ParticleAcceleratorEmitterComponent.cs
2025-08-13 15:03:01 +03:00

27 lines
622 B
C#

using Robust.Shared.Prototypes;
namespace Content.Server.ParticleAccelerator.Components;
[RegisterComponent]
public sealed partial class ParticleAcceleratorEmitterComponent : Component
{
[DataField]
public EntProtoId EmittedPrototype = "ParticlesProjectile";
[DataField("emitterType")]
[ViewVariables(VVAccess.ReadWrite)]
public ParticleAcceleratorEmitterType Type = ParticleAcceleratorEmitterType.Fore;
public override string ToString()
{
return base.ToString() + $" EmitterType:{Type}";
}
}
public enum ParticleAcceleratorEmitterType
{
Port,
Fore,
Starboard
}