using Content.Shared._Shitmed.Targeting;
namespace Content.Shared.Projectiles;
///
/// Raised directed on an entity when it embeds in another entity.
///
[ByRefEvent]
public readonly record struct EmbedEvent(EntityUid? Shooter, EntityUid Embedded, TargetBodyPart? BodyPart)
{
public readonly EntityUid? Shooter = Shooter;
///
/// Entity that is embedded in.
///
public readonly EntityUid Embedded = Embedded;
///
/// Body part that has the embedded entity.
///
public readonly TargetBodyPart? BodyPart = BodyPart;
}
///
/// Raised on an entity when it stops embedding in another entity.
///
[ByRefEvent]
public readonly record struct RemoveEmbedEvent(EntityUid? Remover)
{
public readonly EntityUid? Remover = Remover;
}
// WD EDIT START
[ByRefEvent]
public readonly record struct AttemptEmbedEvent(EntityUid? Shooter, EntityUid Embedded)
{
public readonly EntityUid? Shooter = Shooter;
///
/// Entity that is embedded in.
///
public readonly EntityUid Embedded = Embedded;
}
// WD EDIT END