mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-23 19:42:51 +01:00
15 lines
414 B
C#
15 lines
414 B
C#
using MessagePack;
|
|
using Phantom.Common.Data.Instance;
|
|
|
|
namespace Phantom.Common.Messages.ToAgent;
|
|
|
|
[MessagePackObject]
|
|
public sealed record ConfigureInstanceMessage(
|
|
[property: Key(0)] uint SequenceId,
|
|
[property: Key(1)] InstanceConfiguration Configuration
|
|
) : IMessageToAgent, IMessageWithReply {
|
|
public Task Accept(IMessageToAgentListener listener) {
|
|
return listener.HandleConfigureInstance(this);
|
|
}
|
|
}
|