muddesigner/MUDEngine/ProjectInformation.cs
Scionwest_cp 6abf61aa63 MUDEngine.ProjectInformation.InitialLocation is no longer visible within the Project Manager.
MudDesigner no longer checks for the existance of the Data directory, this is handled by each editor independently.
Project Manager was checking the wrong directory for the project file, thus never letting the project file be loaded during startup.
2009-11-05 19:51:23 -08:00

84 lines
2.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Xml;
namespace MUDEngine
{
[XmlInclude(typeof(StartingLocation))]
public class ProjectInformation
{
public struct StartingLocation
{
public Environment.Room Room;
public Environment.Zone Zone;
public Environment.Realm Realm;
}
#region ====== Public Enumerators, Structures & Properties ======
[Category("Company Information")]
/// <summary>
/// Gets or Sets the name of the company
/// </summary>
public string CompanyName { get; set; }
[Category("Company Information")]
/// <summary>
/// Gets or Sets the companies website for this project
/// </summary>
public string Website { get; set; }
[Category("Project Settings")]
[Description("The name of the project.")]
public string ProjectName { get; set; }
[Category("Project Settings")]
/// <summary>
/// Gets or Sets if the game autosaves when the player changes locations.
/// </summary>
public bool AutoSave { get; set; }
[Category("Project Settings")]
/// <summary>
/// Gets or Sets if room names are hidden during console output.
/// </summary>
public bool HideRoomNames { get; set; }
[Category("Project Information")]
public string Version { get; set; }
public struct CurrencyInfo
{
public uint Amount;
public string Name;
public string Description;
public uint BaseValue;
}
[Category("Project Information")]
[Description("Sets the amount that the base currency is valued at.")]
public uint BaseCurrencyAmount { get; set; }
public uint BaseCurrencyName { get; set; }
[Browsable(false)]
public List<CurrencyInfo> CurrencyList { get; set; }
[Browsable(false)]
public string ProjectPath { get; set; }
//TODO: Add Party support.
#endregion
[Browsable(false)]
public StartingLocation InitialLocation
{
get;
set;
}
}
}