Move interaction tuning into daemon operations
This commit is contained in:
parent
39927896ff
commit
842760a580
6 changed files with 65 additions and 31 deletions
|
|
@ -2248,9 +2248,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
|
||||
try
|
||||
{
|
||||
observer.Operations.Interact(
|
||||
Settings.GameplaySettings.DockingDistance,
|
||||
Settings.GameplaySettings.WormholeExitRadius);
|
||||
observer.Operations.Interact();
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
@ -4105,7 +4103,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
|
||||
try
|
||||
{
|
||||
observer.Operations.DockNearest(Settings.GameplaySettings.DockingDistance);
|
||||
observer.Operations.DockNearest();
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
|
|
@ -200,9 +200,9 @@ public sealed class AetheriaDaemonOperations
|
|||
return Send((client, observed) => client.Dock(observed, targetEntityKey));
|
||||
}
|
||||
|
||||
public AetheriaRuntimeDaemonCommandEnvelope DockNearest(double maxDistance)
|
||||
public AetheriaRuntimeDaemonCommandEnvelope DockNearest()
|
||||
{
|
||||
return Send((client, observed) => client.DockNearest(observed, maxDistance));
|
||||
return Send((client, observed) => client.DockNearest(observed));
|
||||
}
|
||||
|
||||
public AetheriaRuntimeDaemonCommandEnvelope Undock()
|
||||
|
|
@ -210,9 +210,9 @@ public sealed class AetheriaDaemonOperations
|
|||
return Send((client, observed) => client.Undock(observed));
|
||||
}
|
||||
|
||||
public AetheriaRuntimeDaemonCommandEnvelope Interact(double dockDistance, double wormholeDistance)
|
||||
public AetheriaRuntimeDaemonCommandEnvelope Interact()
|
||||
{
|
||||
return Send((client, observed) => client.Interact(observed, dockDistance, wormholeDistance));
|
||||
return Send((client, observed) => client.Interact(observed));
|
||||
}
|
||||
|
||||
public AetheriaRuntimeDaemonCommandEnvelope SetDockedCurrentShip(string targetEntityKey)
|
||||
|
|
|
|||
Loading…
Reference in a new issue