Convert familiars to GhostRoleMobSpawner (#9525)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Rane
2022-07-15 03:53:42 -04:00
committed by GitHub
parent 1cf501303f
commit 5c7eea3e42
7 changed files with 90 additions and 8 deletions

View File

@@ -0,0 +1,25 @@
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;
}
}
}