quantum-space-buddies/QSB/EchoesOfTheEye/EclipseDoors/WorldObjects/QSBEclipseDoorController.cs
JohnCorby 2a6f539eb0 oops
2022-03-14 13:03:41 -07:00

17 lines
656 B
C#

using HarmonyLib;
using QSB.EchoesOfTheEye.EclipseDoors.VariableSync;
using System.Collections.Generic;
using UnityEngine;
namespace QSB.EchoesOfTheEye.EclipseDoors.WorldObjects;
internal class QSBEclipseDoorController : QSBRotatingElements<EclipseDoorController, EclipseDoorVariableSyncer>
{
protected override IEnumerable<SingleLightSensor> LightSensors => AttachedObject._lightSensors;
public override string ReturnLabel()
=> $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value?.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}";
protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.DoorPrefab;
}