mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-14 07:24:50 +01:00
Command system and input system
This commit is contained in:
15
BLHX.Server.Game/Commands/SaveCommand.cs
Normal file
15
BLHX.Server.Game/Commands/SaveCommand.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using BLHX.Server.Common.Utils;
|
||||
|
||||
namespace BLHX.Server.Game.Commands;
|
||||
|
||||
[commandHandler("save", "Save the current state", "save")]
|
||||
public class SaveCommand : Command
|
||||
{
|
||||
public override void Execute(Dictionary<string, string> args)
|
||||
{
|
||||
base.Execute(args);
|
||||
|
||||
Logger.c.Log("Saving...");
|
||||
Logger.c.Log("Saved!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user