mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
Merge remote-tracking branch 'origin/stationary-probe-launcher' into stationary-probe-launcher
This commit is contained in:
commit
b01456a694
@ -24,7 +24,7 @@ using QSB.Player.TransformSync;
|
||||
using QSB.SaveSync;
|
||||
using QSB.ShipSync;
|
||||
using QSB.ShipSync.TransformSync;
|
||||
using QSB.StationaryProbeLauncherSync.TransformSync;
|
||||
using QSB.StationaryProbeLauncherSync.VariableSync;
|
||||
using QSB.Syncs.Occasional;
|
||||
using QSB.TimeSync;
|
||||
using QSB.Tools.ProbeTool.TransformSync;
|
||||
@ -151,7 +151,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
|
||||
ModelShipPrefab = MakeNewNetworkObject(14, "NetworkModelShip", typeof(ModelShipTransformSync));
|
||||
spawnPrefabs.Add(ModelShipPrefab);
|
||||
|
||||
StationaryProbeLauncherPrefab = MakeNewNetworkObject(15, "NetworkStationaryProbeLauncher", typeof(StationaryProbeLauncherTransformSync));
|
||||
StationaryProbeLauncherPrefab = MakeNewNetworkObject(15, "NetworkStationaryProbeLauncher", typeof(StationaryProbeLauncherVariableSync));
|
||||
spawnPrefabs.Add(StationaryProbeLauncherPrefab);
|
||||
|
||||
ConfigureNetworkManager();
|
||||
|
@ -4,17 +4,17 @@ using QSB.AuthoritySync;
|
||||
using QSB.Messaging;
|
||||
using QSB.Player;
|
||||
using QSB.StationaryProbeLauncherSync.Messages;
|
||||
using QSB.StationaryProbeLauncherSync.TransformSync;
|
||||
using QSB.StationaryProbeLauncherSync.VariableSync;
|
||||
using QSB.Tools.ProbeLauncherTool.WorldObjects;
|
||||
using QSB.Utility.LinkedWorldObject;
|
||||
using System.Threading;
|
||||
|
||||
namespace QSB.StationaryProbeLauncherSync.WorldObjects;
|
||||
|
||||
public class QSBStationaryProbeLauncher : QSBProbeLauncher, ILinkedWorldObject<StationaryProbeLauncherTransformSync>
|
||||
public class QSBStationaryProbeLauncher : QSBProbeLauncher, ILinkedWorldObject<StationaryProbeLauncherVariableSync>
|
||||
{
|
||||
public StationaryProbeLauncherTransformSync NetworkBehaviour { get; private set; }
|
||||
public void SetNetworkBehaviour(NetworkBehaviour networkBehaviour) => NetworkBehaviour = (StationaryProbeLauncherTransformSync)networkBehaviour;
|
||||
public StationaryProbeLauncherVariableSync NetworkBehaviour { get; private set; }
|
||||
public void SetNetworkBehaviour(NetworkBehaviour networkBehaviour) => NetworkBehaviour = (StationaryProbeLauncherVariableSync)networkBehaviour;
|
||||
|
||||
private bool _isInit;
|
||||
private bool _isInUse;
|
||||
|
Loading…
x
Reference in New Issue
Block a user