17 lines
680 B
C#
Raw Normal View History

using HarmonyLib;
using QSB.EchoesOfTheEye.EclipseElevators.VariableSync;
using System.Collections.Generic;
using UnityEngine;
2022-03-13 16:14:22 +00:00
namespace QSB.EchoesOfTheEye.EclipseElevators.WorldObjects;
internal class QSBEclipseElevatorController : QSBRotatingElements<EclipseElevatorController, EclipseElevatorVariableSyncer>
2022-03-13 16:14:22 +00: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}";
protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.ElevatorPrefab;
2022-03-13 16:14:22 +00:00
}