quantum-space-buddies/QSB/EchoesOfTheEye/EclipseDoors/WorldObjects/QSBEclipseDoorController.cs

17 lines
656 B
C#
Raw Normal View History

using HarmonyLib;
using QSB.EchoesOfTheEye.EclipseDoors.VariableSync;
using System.Collections.Generic;
using UnityEngine;
2022-03-13 16:14:22 +00:00
namespace QSB.EchoesOfTheEye.EclipseDoors.WorldObjects;
internal class QSBEclipseDoorController : QSBRotatingElements<EclipseDoorController, EclipseDoorVariableSyncer>
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 20:03:41 +00:00
=> $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value?.Join()}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}";
protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.DoorPrefab;
2022-03-13 16:14:22 +00:00
}