mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 15:53:19 +00:00
16 lines
387 B
C#
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());
|
|
}
|
|
}
|