- Login command now supports Offline games. Skips various things that are server related only. - Added a constructor to SaveDataPaths for quickly being able to assign paths. - Game.Start is now Virtual so that scripts may override it. - Game.Start now supports single player games and initializes players within it. - Log now provides a Verbose mode so that Singleplayer games no longer gets flooded with Game startup messages. - BaseCharacter.Initialize() Initialize no longer crashes when called with IsMultiplayer set to false. - BaseCharacter.ReadInput() now supports IsMultiplayer being false. MudServer: - Now supports singleplayer and multiplayer games within a single application. - MudServer is now ready to be re-named to MudGame and will be used for both Offline and Online games.
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;
|
|
}
|
|
}
|
|
}
|