mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-23 19:42:51 +01:00
14 lines
496 B
C#
14 lines
496 B
C#
using MemoryPack;
|
|
using Phantom.Common.Data;
|
|
using Phantom.Common.Data.Minecraft;
|
|
using Phantom.Common.Data.Replies;
|
|
using Phantom.Utils.Actor;
|
|
|
|
namespace Phantom.Common.Messages.Agent.ToAgent;
|
|
|
|
[MemoryPackable(GenerateType.VersionTolerant)]
|
|
public sealed partial record StopInstanceMessage(
|
|
[property: MemoryPackOrder(0)] Guid InstanceGuid,
|
|
[property: MemoryPackOrder(1)] MinecraftStopStrategy StopStrategy
|
|
) : IMessageToAgent, ICanReply<Result<StopInstanceResult, InstanceActionFailure>>;
|