RustDedicated/Rust.Platform.Common/IServerQuery.cs
2025-05-25 05:29:54 +09:30

14 lines
304 B
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IServerQuery : IDisposable
{
IReadOnlyList<ServerInfo> Servers { get; }
event Action<ServerInfo> OnServerFound;
void AddFilter(string key, string value);
Task RunQueryAsync(double timeoutInSeconds);
}