mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
RombaSharp split Features too
This commit is contained in:
28
RombaSharp/Features/Shutdown.cs
Normal file
28
RombaSharp/Features/Shutdown.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using SabreTools.Library.Data;
|
||||
using SabreTools.Library.Help;
|
||||
|
||||
namespace RombaSharp.Features
|
||||
{
|
||||
internal class Shutdown : BaseFeature
|
||||
{
|
||||
public const string Value = "Shutdown";
|
||||
|
||||
public Shutdown()
|
||||
{
|
||||
Name = Value;
|
||||
Flags = new List<string>() { "shutdown" };
|
||||
Description = "Gracefully shuts down server.";
|
||||
_featureType = FeatureType.Flag;
|
||||
LongDescription = "Gracefully shuts down server saving all the cached data.";
|
||||
Features = new Dictionary<string, Feature>();
|
||||
}
|
||||
|
||||
public override void ProcessFeatures(Dictionary<string, Feature> features)
|
||||
{
|
||||
base.ProcessFeatures(features);
|
||||
Globals.Logger.User("This feature is not yet implemented: shutdown");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user