mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-25 15:35:22 +00:00
17 lines
645 B
C#
17 lines
645 B
C#
using QSB.EchoesOfTheEye.EclipseDoors.VariableSync;
|
|
using QSB.Utility.LinkedWorldObject;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.EchoesOfTheEye.EclipseDoors.WorldObjects;
|
|
|
|
internal class QSBEclipseDoorController : LinkedWorldObject<EclipseDoorController, EclipseDoorVariableSyncer>
|
|
{
|
|
public override void SendInitialState(uint to) { }
|
|
|
|
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;
|
|
}
|