quantum-space-buddies/QSB/ItemSync/WorldObjects/QSBScrollSocket.cs
Mister_Nebula b89f24d925 cleanup
2021-02-26 22:26:17 +00:00

16 lines
387 B
C#

namespace QSB.ItemSync.WorldObjects
{
internal class QSBScrollSocket : QSBOWItemSocket<ScrollSocket>
{
public override void Init(ScrollSocket attachedObject, int id)
{
ObjectId = id;
AttachedObject = attachedObject;
base.Init(attachedObject, id);
}
public override IQSBOWItem RemoveFromSocket()
=> ItemManager.GetObject(AttachedObject.RemoveFromSocket());
}
}