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