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/PixelCommands/ResetCommand.cs

29 lines
561 B
C#
Raw Normal View History

using System;
namespace PixelHub.Server.PixelCommands
{
/// <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 ResetCommand : PixelCommand
{
public override byte[] Payload {
get {
return new byte[0];
}
protected set {
// There's nothing here!
}
}
2017-03-02 13:19:29 +00:00
public new MessageTypes MessageType { get; private set; } = MessageTypes.Reset;
public ResetCommand()
{
}
}
}