namespace XFEEliteDangerous.Core; /// Native adapters depend on this boundary; only the launcher owns network access. public interface INativeGameData : IAsyncDisposable { INativeWorldAuthority World { get; } Task InvokeAsync(string method,string operation,IReadOnlyDictionary fields,byte[] body); } public interface INativeWorldAuthority { Action? Diagnostic { get; set; } bool CanRoute(ushort port); IReadOnlyList Receive(ushort clientPort,ushort targetPort,ReadOnlySpan packet); IReadOnlyList Poll(ushort clientPort); }