Aetheria/Packages/org.gamecult.aetheria.state/Runtime/AetheriaRuntimeDaemonSurfaceCommands.cs
2026-06-29 07:01:38 +01:00

26 lines
643 B
C#

using System;
using GameCult.Eve.Surface;
#nullable enable
namespace GameCult.Aetheria.State.Verse
{
public static class AetheriaRuntimeDaemonSurfaceCommands
{
public static bool TrySubmit(
AetheriaClient client,
EveSurfaceCommandRequest request,
out AetheriaRuntimeDaemonCommandEnvelope? envelope)
{
envelope = null;
if (request == null ||
client == null ||
!client.Control.TrySubmitSurfaceCommand(request, out envelope))
{
return false;
}
return true;
}
}
}