Organ fixes (#20488)

This commit is contained in:
metalgearsloth
2023-09-30 01:01:47 +10:00
committed by GitHub
parent 4313a6ee66
commit 290c2fd502
5 changed files with 24 additions and 49 deletions

View File

@@ -3,19 +3,6 @@
// All of these events are raised on a mechanism entity when added/removed to a body in different
// ways.
/// <summary>
/// Raised on a mechanism when it is added to a body.
/// </summary>
public sealed class AddedToBodyEvent : EntityEventArgs
{
public EntityUid Body;
public AddedToBodyEvent(EntityUid body)
{
Body = body;
}
}
/// <summary>
/// Raised on a mechanism when it is added to a body part.
/// </summary>
@@ -44,29 +31,16 @@
}
}
/// <summary>
/// Raised on a mechanism when it is removed from a body.
/// </summary>
public sealed class RemovedFromBodyEvent : EntityEventArgs
{
public EntityUid Old;
public RemovedFromBodyEvent(EntityUid old)
{
Old = old;
}
}
/// <summary>
/// Raised on a mechanism when it is removed from a body part.
/// </summary>
public sealed class RemovedFromPartEvent : EntityEventArgs
{
public EntityUid Old;
public EntityUid OldPart;
public RemovedFromPartEvent(EntityUid old)
public RemovedFromPartEvent(EntityUid oldPart)
{
Old = old;
OldPart = oldPart;
}
}