17 lines
669 B
C#
Raw Normal View History

2022-03-13 16:14:22 +00:00
using QSB.EchoesOfTheEye.EclipseElevators.VariableSync;
using QSB.Utility.LinkedWorldObject;
using UnityEngine;
2022-03-13 16:14:22 +00:00
namespace QSB.EchoesOfTheEye.EclipseElevators.WorldObjects;
internal class QSBEclipseElevatorController : LinkedWorldObject<EclipseElevatorController, EclipseElevatorVariableSyncer>
2022-03-13 16:14:22 +00:00
{
public override void SendInitialState(uint to) { }
2022-03-13 16:14:22 +00:00
public override string ReturnLabel()
=> $"{base.ReturnLabel()}\r\n- SyncerValue:{NetworkBehaviour.Value}\r\n- HasAuth:{NetworkBehaviour.hasAuthority}";
protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.ElevatorPrefab;
protected override bool SpawnWithServerAuthority => true;
2022-03-13 16:14:22 +00:00
}