Replace IBodyPartAdded and IBodyPartRemoved with ref events (#12572)
This commit is contained in:
7
Content.Shared/Body/Part/BodyPartEvents.cs
Normal file
7
Content.Shared/Body/Part/BodyPartEvents.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Content.Shared.Body.Part;
|
||||
|
||||
[ByRefEvent]
|
||||
public readonly record struct BodyPartAddedEvent(string Slot, BodyPartComponent Part);
|
||||
|
||||
[ByRefEvent]
|
||||
public readonly record struct BodyPartRemovedEvent(string Slot, BodyPartComponent Part);
|
||||
Reference in New Issue
Block a user