remoev ISectoredSync

This commit is contained in:
Mister_Nebula 2021-08-14 14:49:46 +01:00
parent f30b437589
commit 1a7d172b37
3 changed files with 2 additions and 16 deletions

View File

@ -278,7 +278,6 @@
<Compile Include="ShipSync\Events\RepairTickMessage.cs" />
<Compile Include="ShipSync\WorldObjects\QSBShipComponent.cs" />
<Compile Include="ShipSync\WorldObjects\QSBShipHull.cs" />
<Compile Include="Syncs\ISectoredSync.cs" />
<Compile Include="Syncs\RigidbodySync\BaseRigidbodySync.cs" />
<Compile Include="Syncs\RigidbodySync\SectoredRigidbodySync.cs" />
<Compile Include="Syncs\SyncBase.cs" />

View File

@ -2,6 +2,7 @@
using OWML.Utils;
using QSB.SectorSync.WorldObjects;
using QSB.Syncs;
using QSB.Syncs.Sectored;
using QSB.Utility;
using QSB.WorldSync;
using System;
@ -30,7 +31,7 @@ namespace QSB.SectorSync
IsReady = false;
}
public void Init<T>(SectorDetector detector, ISectoredSync<T> sectoredSync)
public void Init(SectorDetector detector, BaseSectoredSync sectoredSync)
{
DebugLog.DebugWrite($"INIT SECTOR SYNC detector:{detector.name}");
if (_sectorDetector != null)

View File

@ -1,14 +0,0 @@
using QSB.SectorSync;
using QSB.SectorSync.WorldObjects;
namespace QSB.Syncs
{
public interface ISectoredSync<T>
{
SectorSync.SectorSync SectorSync { get; }
QSBSector ReferenceSector { get; }
TargetType Type { get; }
void SetReferenceSector(QSBSector sector);
}
}