- 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.
42 lines
991 B
C#
42 lines
991 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace MudEngine.FileSystem
|
|
{
|
|
public struct SaveDataPaths
|
|
{
|
|
public String Players
|
|
{
|
|
get
|
|
{
|
|
return _Players;
|
|
}
|
|
set
|
|
{
|
|
_Players = value;
|
|
}
|
|
}
|
|
|
|
public String Environment
|
|
{
|
|
get
|
|
{
|
|
return _Environment;
|
|
}
|
|
set
|
|
{
|
|
_Environment = value;
|
|
}
|
|
}
|
|
private String _Players;
|
|
private String _Environment;
|
|
|
|
public SaveDataPaths(String environment, String players)
|
|
{
|
|
_Players = players;
|
|
_Environment = environment;
|
|
}
|
|
}
|
|
}
|