6
StarHorizon_Public/Content.Server/Ghost/Roles/Events/GhostRoleSpawnerUsedEvent.cs
2026-01-24 12:49:55 +03:00

26 lines
637 B
C#

namespace Content.Server.Ghost.Roles.Events
{
/// <summary>
/// Raised on a spawned entity after they use a ghost role mob spawner.
/// </summary>
public sealed class GhostRoleSpawnerUsedEvent : EntityEventArgs
{
/// <summary>
/// The entity that spawned this.
/// </summary>
public EntityUid Spawner;
/// <summary>
/// The entity spawned.
/// </summary>
public EntityUid Spawned;
public GhostRoleSpawnerUsedEvent(EntityUid spawner, EntityUid spawned)
{
Spawner = spawner;
Spawned = spawned;
}
}
}