- Converted all Types from C# types to .NET Types (such as bool changed to Boolean, and int changed to Int32). - Zone no longer gets saved from within GameWorld.Save, but rather in Realm.Save() - Room no longer gets saved from within GameWorld.Save(), but rather in Zone.Save(); - Added new SaveWorld command that admins only can execute to force save the world. It's not fully implemented at this time. MudGame: - began work on command execution from within the server while it's running.
24 lines
639 B
C#
24 lines
639 B
C#
//Microsoft .NET Framework
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
//MUD Engine
|
|
using MudEngine.Commands;
|
|
using MudEngine.GameObjects.Characters;
|
|
using MudEngine.GameManagement;
|
|
using MudEngine.GameObjects.Environment;
|
|
|
|
namespace MudEngine.GameManagement
|
|
{
|
|
public interface IGameCommand
|
|
{
|
|
//Name of the command
|
|
String Name { get; set; }
|
|
//Used to override commands with the same name
|
|
Boolean Override { get; set; }
|
|
//Executes the command.
|
|
CommandResults Execute(String command, BaseCharacter player);
|
|
}
|
|
}
|