Add body part and body manager interfaces (#1939)
* Add body part and body manager interfaces * Merge fixes
This commit is contained in:
@@ -14,13 +14,13 @@ namespace Content.Server.Interfaces.GameObjects.Components.Interaction
|
||||
|
||||
public class BodyPartAddedEventArgs : EventArgs
|
||||
{
|
||||
public BodyPartAddedEventArgs(BodyPart part, string slotName)
|
||||
public BodyPartAddedEventArgs(IBodyPart part, string slotName)
|
||||
{
|
||||
Part = part;
|
||||
SlotName = slotName;
|
||||
}
|
||||
|
||||
public BodyPart Part { get; }
|
||||
public IBodyPart Part { get; }
|
||||
|
||||
public string SlotName { get; }
|
||||
}
|
||||
@@ -36,13 +36,13 @@ namespace Content.Server.Interfaces.GameObjects.Components.Interaction
|
||||
|
||||
public class BodyPartRemovedEventArgs : EventArgs
|
||||
{
|
||||
public BodyPartRemovedEventArgs(BodyPart part, string slotName)
|
||||
public BodyPartRemovedEventArgs(IBodyPart part, string slotName)
|
||||
{
|
||||
Part = part;
|
||||
SlotName = slotName;
|
||||
}
|
||||
|
||||
public BodyPart Part { get; }
|
||||
public IBodyPart Part { get; }
|
||||
|
||||
public string SlotName { get; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user