quantum-space-buddies/QSB/EchoesOfTheEye/RaftSync/RaftManager.cs

19 lines
528 B
C#
Raw Normal View History

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