MudEngine:
- 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.
This commit is contained in:
parent
ef7cc5d2c2
commit
aade5f797f
7 changed files with 188 additions and 55 deletions
|
@ -7,7 +7,36 @@ namespace MudEngine.FileSystem
|
|||
{
|
||||
public struct SaveDataPaths
|
||||
{
|
||||
public string Players { get; set; }
|
||||
public string Environment { get; set; }
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue