This repository has been archived on 2019-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
PixelHub/PixelHub-Server/PixelHub/PixelMessages/ResetMessage.cs

29 lines
561 B
C#

using System;
namespace PixelHub.Server.PixelMessages
{
/// <summary>
/// Hard-resets the PixelBot. Useful if something has gone wrong, or to reset it's internal state.
/// Note that this will cause the PixelBot to drop it's connection!
/// </summary>
public class ResetMessage : PixelMessage
{
public override byte[] Payload {
get {
return new byte[0];
}
protected set {
// There's nothing here!
}
}
public new MessageTypes MessageType { get; private set; } = MessageTypes.Reset;
public ResetMessage()
{
}
}
}