quantum-space-buddies/QSB/EchoesOfTheEye/DreamRafts/DreamRaftManager.cs

22 lines
712 B
C#

using Cysharp.Threading.Tasks;
using QSB.EchoesOfTheEye.DreamRafts.WorldObjects;
using QSB.WorldSync;
using System.Threading;
namespace QSB.EchoesOfTheEye.DreamRafts;
public class DreamRaftManager : WorldObjectManager
{
public override WorldObjectScene WorldObjectScene => WorldObjectScene.SolarSystem;
public override bool DlcOnly => true;
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
{
QSBWorldSync.Init<QSBDreamRaftController, DreamRaftController>();
QSBWorldSync.Init<QSBSealRaftController, SealRaftController>();
QSBWorldSync.Init<QSBDreamRaftProjector, DreamRaftProjector>();
QSBWorldSync.Init<QSBDreamRaftProjection, DreamRaftProjection>();
}
}