mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-22 08:42:44 +01:00
15 lines
400 B
C#
15 lines
400 B
C#
using MessagePack;
|
|
using Phantom.Common.Data.Instance;
|
|
|
|
namespace Phantom.Common.Messages.ToServer;
|
|
|
|
[MessagePackObject]
|
|
public sealed record ReportInstanceStatusMessage(
|
|
[property: Key(0)] Guid InstanceGuid,
|
|
[property: Key(1)] InstanceStatus InstanceStatus
|
|
) : IMessageToServer {
|
|
public Task Accept(IMessageToServerListener listener) {
|
|
return listener.HandleReportInstanceStatus(this);
|
|
}
|
|
}
|