23 lines
522 B
C#
Raw Normal View History

2021-11-01 15:49:00 +00:00
using QSB.ItemSync.WorldObjects.Items;
2021-02-25 14:53:34 +00:00
using QSB.WorldSync;
2021-02-23 14:42:18 +00:00
2021-11-01 15:49:00 +00:00
namespace QSB.ItemSync.WorldObjects.Sockets
2021-02-23 14:42:18 +00:00
{
2022-01-26 00:41:39 -08:00
internal class QSBItemSocket : WorldObject<OWItemSocket>
2021-02-23 14:42:18 +00:00
{
public override void SendInitialState(uint to)
{
2022-01-25 21:32:43 -08:00
// todo SendResyncInfo
}
2022-01-25 21:38:38 -08:00
public bool IsSocketOccupied()
2021-03-26 20:56:57 +00:00
=> AttachedObject.IsSocketOccupied();
2022-01-26 00:41:39 -08:00
public void PlaceIntoSocket(IQSBItem item)
=> AttachedObject.PlaceIntoSocket((OWItem)item.AttachedObject);
2021-02-25 21:24:10 +00:00
public void RemoveFromSocket()
=> AttachedObject.RemoveFromSocket();
2021-02-23 14:42:18 +00:00
}
}