namespace Content.Shared.Body.Events;
// All of these events are raised on a mechanism entity when added/removed to a body in different
// ways.
///
/// Raised on a mechanism when it is added to a body part.
///
[ByRefEvent]
public readonly record struct OrganAddedEvent(EntityUid Part);
///
/// Raised on a mechanism when it is added to a body part within a body.
///
[ByRefEvent]
public readonly record struct OrganAddedToBodyEvent(EntityUid Body, EntityUid Part);
///
/// Raised on a mechanism when it is removed from a body part.
///
[ByRefEvent]
public readonly record struct OrganRemovedEvent(EntityUid OldPart);
///
/// Raised on a mechanism when it is removed from a body part within a body.
///
[ByRefEvent]
public readonly record struct OrganRemovedFromBodyEvent(EntityUid OldBody, EntityUid OldPart);