mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
im a dumbass
This commit is contained in:
parent
21680ffad8
commit
423c3803ca
@ -151,7 +151,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
|
||||
ModelShipPrefab = MakeNewNetworkObject(14, "NetworkModelShip", typeof(ModelShipTransformSync));
|
||||
spawnPrefabs.Add(ModelShipPrefab);
|
||||
|
||||
StationaryProbeLauncherPrefab = MakeNewNetworkObject(15, "NetworkStationaryProbeLauncher", typeof(StationaryProbeLauncherVariableSync));
|
||||
StationaryProbeLauncherPrefab = MakeNewNetworkObject(15, "NetworkStationaryProbeLauncher", typeof(StationaryProbeLauncherVariableSyncer));
|
||||
spawnPrefabs.Add(StationaryProbeLauncherPrefab);
|
||||
|
||||
ConfigureNetworkManager();
|
||||
|
@ -7,7 +7,7 @@ using UnityEngine;
|
||||
|
||||
namespace QSB.Tools.ProbeLauncherTool.VariableSync;
|
||||
|
||||
public class StationaryProbeLauncherVariableSync : BaseVariableSyncer<(float, float, float)>, ILinkedNetworkBehaviour
|
||||
public class StationaryProbeLauncherVariableSyncer : BaseVariableSyncer<(float, float, float)>, ILinkedNetworkBehaviour
|
||||
{
|
||||
protected override bool HasChanged()
|
||||
{
|
@ -10,12 +10,12 @@ using System.Threading;
|
||||
|
||||
namespace QSB.Tools.ProbeLauncherTool.WorldObjects;
|
||||
|
||||
public class QSBStationaryProbeLauncher : QSBProbeLauncher, ILinkedWorldObject<StationaryProbeLauncherVariableSync>
|
||||
public class QSBStationaryProbeLauncher : QSBProbeLauncher, ILinkedWorldObject<StationaryProbeLauncherVariableSyncer>
|
||||
{
|
||||
private uint _currentUser = uint.MaxValue;
|
||||
|
||||
public StationaryProbeLauncherVariableSync NetworkBehaviour { get; private set; }
|
||||
public void SetNetworkBehaviour(NetworkBehaviour networkBehaviour) => NetworkBehaviour = (StationaryProbeLauncherVariableSync)networkBehaviour;
|
||||
public StationaryProbeLauncherVariableSyncer NetworkBehaviour { get; private set; }
|
||||
public void SetNetworkBehaviour(NetworkBehaviour networkBehaviour) => NetworkBehaviour = (StationaryProbeLauncherVariableSyncer)networkBehaviour;
|
||||
|
||||
private bool _isInUse;
|
||||
private StationaryProbeLauncher _stationaryProbeLauncher;
|
||||
|
Loading…
Reference in New Issue
Block a user