mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-25 17:46:41 +03:00
* add: crossbar * add: crossbar * add: crossbow * clean up * AI rewie * fix * fix * fix :( * Update tags.yml * fix
29 lines
721 B
C#
29 lines
721 B
C#
namespace Content.Shared.Projectiles;
|
|
|
|
/// <summary>
|
|
/// Raised directed on an entity when it embeds in another entity.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public readonly record struct EmbedEvent(EntityUid? Shooter, EntityUid Embedded)
|
|
{
|
|
public readonly EntityUid? Shooter = Shooter;
|
|
|
|
/// <summary>
|
|
/// Entity that is embedded in.
|
|
/// </summary>
|
|
public readonly EntityUid Embedded = Embedded;
|
|
}
|
|
|
|
// WD EDIT START
|
|
[ByRefEvent]
|
|
public readonly record struct AttemptEmbedEvent(EntityUid? Shooter, EntityUid Embedded)
|
|
{
|
|
public readonly EntityUid? Shooter = Shooter;
|
|
|
|
/// <summary>
|
|
/// Entity that is embedded in.
|
|
/// </summary>
|
|
public readonly EntityUid Embedded = Embedded;
|
|
}
|
|
// WD EDIT END
|