diff --git a/QSB/ItemSync/WorldObjects/Sockets/QSBOWItemDoubleSocket.cs b/QSB/ItemSync/WorldObjects/Sockets/QSBOWItemDoubleSocket.cs deleted file mode 100644 index d6026f8a..00000000 --- a/QSB/ItemSync/WorldObjects/Sockets/QSBOWItemDoubleSocket.cs +++ /dev/null @@ -1,28 +0,0 @@ -using QSB.ItemSync.WorldObjects.Items; -using QSB.WorldSync; - -namespace QSB.ItemSync.WorldObjects.Sockets -{ - // todo make this QSBOWItemSocket since it's identical - internal class QSBOWItemDoubleSocket : WorldObject, IQSBOWItemSocket - where T : OWItemSocket - { - public override void SendResyncInfo(uint to) { } - - public virtual bool AcceptsItem(IQSBOWItem item) - { - var itemType = item.GetItemType(); - var acceptableType = AttachedObject._acceptableType; - return (itemType & acceptableType) == itemType; - } - - public virtual bool IsSocketOccupied() - => AttachedObject.IsSocketOccupied(); - - public virtual bool PlaceIntoSocket(IQSBOWItem item) - => AttachedObject.PlaceIntoSocket((OWItem)item.ReturnObject()); - - public virtual IQSBOWItem RemoveFromSocket() - => AttachedObject.RemoveFromSocket().GetWorldObject(); - } -} diff --git a/QSB/ItemSync/WorldObjects/Sockets/QSBSlideProjectorSocket.cs b/QSB/ItemSync/WorldObjects/Sockets/QSBSlideProjectorSocket.cs index 87e6aefd..11861350 100644 --- a/QSB/ItemSync/WorldObjects/Sockets/QSBSlideProjectorSocket.cs +++ b/QSB/ItemSync/WorldObjects/Sockets/QSBSlideProjectorSocket.cs @@ -1,6 +1,6 @@ namespace QSB.ItemSync.WorldObjects.Sockets { - internal class QSBSlideProjectorSocket : QSBOWItemDoubleSocket + internal class QSBSlideProjectorSocket : QSBOWItemSocket { } }