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

17 lines
645 B
C#
Raw Normal View History

2022-03-13 16:14:22 +00:00
using QSB.EchoesOfTheEye.EclipseDoors.VariableSync;
using QSB.Utility.LinkedWorldObject;
using UnityEngine;
2022-03-13 16:14:22 +00:00
namespace QSB.EchoesOfTheEye.EclipseDoors.WorldObjects;
internal class QSBEclipseDoorController : LinkedWorldObject<EclipseDoorController, EclipseDoorVariableSyncer>
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.DoorPrefab;
protected override bool SpawnWithServerAuthority => true;
2022-03-13 16:14:22 +00:00
}