27 lines
478 B
C#
27 lines
478 B
C#
|
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!
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public ResetCommand()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|