2022-03-10 23:26:09 +00:00
|
|
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
|
using QSB.EchoesOfTheEye.PictureFrameDoors.WorldObjects;
|
|
|
|
|
using QSB.WorldSync;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
|
|
|
|
|
namespace QSB.EchoesOfTheEye.PictureFrameDoors;
|
|
|
|
|
|
2023-07-28 18:30:57 +00:00
|
|
|
|
public class PictureFrameDoorsManager : WorldObjectManager
|
2022-03-10 23:26:09 +00:00
|
|
|
|
{
|
|
|
|
|
public override WorldObjectScene WorldObjectScene => WorldObjectScene.SolarSystem;
|
2022-03-11 18:04:11 +00:00
|
|
|
|
public override bool DlcOnly => true;
|
2022-03-10 23:26:09 +00:00
|
|
|
|
|
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
|
|
|
|
{
|
|
|
|
|
QSBWorldSync.Init<QSBPictureFrameDoorInterface, PictureFrameDoorInterface>(typeof(GlitchedCodeDoorInterface));
|
|
|
|
|
QSBWorldSync.Init<QSBGlitchedCodeDoorInterface, GlitchedCodeDoorInterface>();
|
|
|
|
|
}
|
|
|
|
|
}
|