1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2024-11-23 19:42:51 +01:00
Minecraft-Phantom-Panel/Common/Phantom.Common.Messages/ToAgent/LaunchInstanceMessage.cs

14 lines
355 B
C#

using MessagePack;
namespace Phantom.Common.Messages.ToAgent;
[MessagePackObject]
public sealed record LaunchInstanceMessage(
[property: Key(0)] uint SequenceId,
[property: Key(1)] Guid InstanceGuid
) : IMessageToAgent, IMessageWithReply {
public Task Accept(IMessageToAgentListener listener) {
return listener.HandleLaunchInstance(this);
}
}