Organ fixes (#20488)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user