muddesigner/MudEngine/GameObjects/Environment/StartingLocation.cs
Scionwest_cp a52ccf8da9 MudEngine:
- 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.
2010-08-14 00:20:43 -07:00

34 lines
No EOL
805 B
C#

using System;
//MUD Engine
using MudEngine.FileSystem;
using MudEngine.GameObjects;
using MudEngine.GameObjects.Environment;
namespace MudEngine.GameObjects.Environment
{
public struct StartingLocation
{
public String Room;
public String Zone;
public String Realm;
public override String ToString()
{
if (String.IsNullOrEmpty(Room))
return "No initial location defined.";
else
{
if (Realm == "No Realm Associated.")
{
return Zone + "->" + Room;
}
else
{
return Realm + "->" + Zone + "->" + Room;
}
}
}
}
}