2022-03-14 08:32:35 -07:00
|
|
|
|
using HarmonyLib;
|
|
|
|
|
using QSB.EchoesOfTheEye.EclipseElevators.VariableSync;
|
|
|
|
|
using System.Collections.Generic;
|
2022-03-14 03:22:44 -07:00
|
|
|
|
using UnityEngine;
|
2022-03-13 16:14:22 +00:00
|
|
|
|
|
|
|
|
|
namespace QSB.EchoesOfTheEye.EclipseElevators.WorldObjects;
|
|
|
|
|
|
2022-03-14 08:32:35 -07:00
|
|
|
|
internal class QSBEclipseElevatorController : QSBRotatingElements<EclipseElevatorController, EclipseElevatorVariableSyncer>
|
2022-03-13 16:14:22 +00:00
|
|
|
|
{
|
2022-03-14 08:32:35 -07:00
|
|
|
|
protected override IEnumerable<SingleLightSensor> LightSensors => AttachedObject._lightSensors;
|
2022-03-13 16:14:22 +00:00
|
|
|
|
|
|
|
|
|
public override string ReturnLabel()
|
2022-03-14 13:03:41 -07:00
|
|
|
|
=> $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value?.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}";
|
2022-03-14 03:22:44 -07:00
|
|
|
|
|
|
|
|
|
protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.ElevatorPrefab;
|
2022-03-13 16:14:22 +00:00
|
|
|
|
}
|