2026-06-21 09:37:54 +01:00
|
|
|
using System;
|
|
|
|
|
using GameCult.Eve.Surface;
|
|
|
|
|
|
|
|
|
|
#nullable enable
|
|
|
|
|
|
2026-06-21 09:54:15 +01:00
|
|
|
namespace GameCult.Aetheria.State.Verse
|
2026-06-21 09:37:54 +01:00
|
|
|
{
|
|
|
|
|
public static class AetheriaRuntimeDaemonSurfaceCommands
|
|
|
|
|
{
|
2026-06-25 18:09:33 +01:00
|
|
|
public static bool TrySubmit(
|
|
|
|
|
AetheriaClient client,
|
|
|
|
|
EveSurfaceCommandRequest request,
|
|
|
|
|
out AetheriaRuntimeDaemonCommandEnvelope? envelope)
|
|
|
|
|
{
|
|
|
|
|
envelope = null;
|
|
|
|
|
if (request == null ||
|
|
|
|
|
client == null ||
|
2026-06-29 07:01:38 +01:00
|
|
|
!client.Control.TrySubmitSurfaceCommand(request, out envelope))
|
2026-06-25 18:09:33 +01:00
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-29 07:01:38 +01:00
|
|
|
return true;
|
2026-06-21 09:37:54 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|