mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-10-17 12:42:51 +02:00
15 lines
418 B
C#
15 lines
418 B
C#
using MemoryPack;
|
|
using Phantom.Common.Data.Replies;
|
|
using Phantom.Utils.Rpc.Message;
|
|
|
|
namespace Phantom.Common.Messages.ToAgent;
|
|
|
|
[MemoryPackable]
|
|
public sealed partial record RegisterAgentFailureMessage(
|
|
[property: MemoryPackOrder(0)] RegisterAgentFailure FailureKind
|
|
) : IMessageToAgent {
|
|
public Task<NoReply> Accept(IMessageToAgentListener listener) {
|
|
return listener.HandleRegisterAgentFailure(this);
|
|
}
|
|
}
|