2022-01-29 04:49:07 +00:00
|
|
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
|
using QSB.EchoesOfTheEye.AirlockSync.WorldObjects;
|
2021-11-08 20:55:53 +00:00
|
|
|
|
using QSB.WorldSync;
|
2022-01-29 04:49:07 +00:00
|
|
|
|
using System.Threading;
|
2021-11-08 20:55:53 +00:00
|
|
|
|
|
2022-03-03 03:46:33 +00:00
|
|
|
|
namespace QSB.EchoesOfTheEye.AirlockSync;
|
|
|
|
|
|
|
|
|
|
internal class AirlockManager : WorldObjectManager
|
2021-11-08 20:55:53 +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;
|
2021-12-21 02:41:12 +00:00
|
|
|
|
|
2022-07-25 09:19:16 +00:00
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
|
|
|
|
{
|
2022-03-14 19:49:38 +00:00
|
|
|
|
QSBWorldSync.Init<QSBAirlockInterface, AirlockInterface>();
|
2022-07-25 09:19:16 +00:00
|
|
|
|
QSBWorldSync.Init<QSBGhostAirlock, GhostAirlock>();
|
|
|
|
|
}
|
|
|
|
|
}
|