mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-22 08:42:44 +01:00
14 lines
438 B
C#
14 lines
438 B
C#
using MemoryPack;
|
|
using Phantom.Common.Data.Replies;
|
|
|
|
namespace Phantom.Common.Messages.ToAgent;
|
|
|
|
[MemoryPackable]
|
|
public sealed partial record LaunchInstanceMessage(
|
|
[property: MemoryPackOrder(0)] Guid InstanceGuid
|
|
) : IMessageToAgent<InstanceActionResult<LaunchInstanceResult>> {
|
|
public Task<InstanceActionResult<LaunchInstanceResult>> Accept(IMessageToAgentListener listener) {
|
|
return listener.HandleLaunchInstance(this);
|
|
}
|
|
}
|