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