mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 13:23:05 +00:00
22 lines
668 B
C#
22 lines
668 B
C#
using Cysharp.Threading.Tasks;
|
|
using QSB.EchoesOfTheEye.LightSensorSync.WorldObjects;
|
|
using QSB.WorldSync;
|
|
using System.Threading;
|
|
|
|
namespace QSB.EchoesOfTheEye.LightSensorSync;
|
|
|
|
internal class LightSensorManager : WorldObjectManager
|
|
{
|
|
/// <summary>
|
|
/// light sensor apparently shows up in eye
|
|
/// </summary>
|
|
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Both;
|
|
/// <summary>
|
|
/// light sensor patches like to run even with no dlc
|
|
/// </summary>
|
|
public override bool DlcOnly => false;
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct) =>
|
|
QSBWorldSync.Init<QSBLightSensor, SingleLightSensor>();
|
|
}
|