mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-25 16:42:54 +01:00
15 lines
409 B
C#
15 lines
409 B
C#
using System.Collections.Immutable;
|
|
using MessagePack;
|
|
using Phantom.Common.Data.Java;
|
|
|
|
namespace Phantom.Common.Messages.ToServer;
|
|
|
|
[MessagePackObject]
|
|
public sealed record AdvertiseJavaRuntimesMessage(
|
|
[property: Key(0)] ImmutableArray<TaggedJavaRuntime> Runtimes
|
|
) : IMessageToServer {
|
|
public Task Accept(IMessageToServerListener listener) {
|
|
return listener.HandleAdvertiseJavaRuntimes(this);
|
|
}
|
|
}
|