Move interaction tuning into daemon operations

This commit is contained in:
Meta Vens 2026-06-22 00:22:45 +01:00
commit 842760a580
6 changed files with 65 additions and 31 deletions

View file

@ -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)

View file

@ -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)