using QSB.ItemSync.WorldObjects.Items; using QSB.Patches; using QSB.WorldSync; namespace QSB.ItemSync.WorldObjects.Sockets; internal class QSBItemSocket : WorldObject { public override void SendInitialState(uint to) { // todo SendInitialState } public bool IsSocketOccupied() => AttachedObject.IsSocketOccupied(); public void PlaceIntoSocket(IQSBItem item) => QSBPatch.RemoteCall(() => AttachedObject.PlaceIntoSocket((OWItem)item.AttachedObject)); public void RemoveFromSocket() => QSBPatch.RemoteCall(AttachedObject.RemoveFromSocket); }