mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-27 03:35:20 +00:00
remoev ISectoredSync
This commit is contained in:
parent
f30b437589
commit
1a7d172b37
@ -278,7 +278,6 @@
|
|||||||
<Compile Include="ShipSync\Events\RepairTickMessage.cs" />
|
<Compile Include="ShipSync\Events\RepairTickMessage.cs" />
|
||||||
<Compile Include="ShipSync\WorldObjects\QSBShipComponent.cs" />
|
<Compile Include="ShipSync\WorldObjects\QSBShipComponent.cs" />
|
||||||
<Compile Include="ShipSync\WorldObjects\QSBShipHull.cs" />
|
<Compile Include="ShipSync\WorldObjects\QSBShipHull.cs" />
|
||||||
<Compile Include="Syncs\ISectoredSync.cs" />
|
|
||||||
<Compile Include="Syncs\RigidbodySync\BaseRigidbodySync.cs" />
|
<Compile Include="Syncs\RigidbodySync\BaseRigidbodySync.cs" />
|
||||||
<Compile Include="Syncs\RigidbodySync\SectoredRigidbodySync.cs" />
|
<Compile Include="Syncs\RigidbodySync\SectoredRigidbodySync.cs" />
|
||||||
<Compile Include="Syncs\SyncBase.cs" />
|
<Compile Include="Syncs\SyncBase.cs" />
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
using OWML.Utils;
|
using OWML.Utils;
|
||||||
using QSB.SectorSync.WorldObjects;
|
using QSB.SectorSync.WorldObjects;
|
||||||
using QSB.Syncs;
|
using QSB.Syncs;
|
||||||
|
using QSB.Syncs.Sectored;
|
||||||
using QSB.Utility;
|
using QSB.Utility;
|
||||||
using QSB.WorldSync;
|
using QSB.WorldSync;
|
||||||
using System;
|
using System;
|
||||||
@ -30,7 +31,7 @@ namespace QSB.SectorSync
|
|||||||
IsReady = false;
|
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}");
|
DebugLog.DebugWrite($"INIT SECTOR SYNC detector:{detector.name}");
|
||||||
if (_sectorDetector != null)
|
if (_sectorDetector != null)
|
||||||
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user