2022-02-25 00:21:21 -08:00
|
|
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
|
using QSB.EchoesOfTheEye.RaftSync.WorldObjects;
|
|
|
|
|
using QSB.WorldSync;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
namespace QSB.EchoesOfTheEye.RaftSync;
|
|
|
|
|
|
|
|
|
|
public class RaftManager : WorldObjectManager
|
2022-02-25 00:21:21 -08:00
|
|
|
|
{
|
2022-03-02 19:46:33 -08:00
|
|
|
|
public override WorldObjectScene WorldObjectScene => WorldObjectScene.SolarSystem;
|
2022-03-11 10:04:11 -08:00
|
|
|
|
public override bool DlcOnly => true;
|
2022-02-25 00:21:21 -08:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
|
|
|
|
{
|
2022-03-18 01:34:43 -07:00
|
|
|
|
QSBWorldSync.Init<QSBRaft, RaftController>();
|
2022-03-02 19:46:33 -08:00
|
|
|
|
QSBWorldSync.Init<QSBRaftDock, RaftDock>();
|
2022-03-11 09:39:47 -08:00
|
|
|
|
}
|
2022-03-11 06:40:00 -08:00
|
|
|
|
}
|