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

17 lines
680 B
C#

using HarmonyLib;
using QSB.EchoesOfTheEye.EclipseElevators.VariableSync;
using System.Collections.Generic;
using UnityEngine;
namespace QSB.EchoesOfTheEye.EclipseElevators.WorldObjects;
internal class QSBEclipseElevatorController : QSBRotatingElements<EclipseElevatorController, EclipseElevatorVariableSyncer>
{
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.ElevatorPrefab;
}