76 lines
2.5 KiB
C#
Raw Normal View History

2022-05-22 15:55:26 +08:00
#undef DEBUG
using System.Windows.Forms;
2022-05-22 15:55:26 +08:00
namespace RageCoop.Client
2021-07-07 13:36:25 +02:00
{
2021-12-03 20:30:00 +01:00
/// <summary>
/// Don't use it!
/// </summary>
public class Settings
2021-07-07 13:36:25 +02:00
{
/// <summary>
/// Don't use it!
/// </summary>
public string Username { get; set; } = "Player";
2022-07-01 13:54:18 +08:00
/// <summary>
/// The password used to authenticate when connecting to a server.
/// </summary>
2022-06-24 10:33:36 +08:00
public string Password { get; set; } = "";
/// <summary>
/// Don't use it!
/// </summary>
public string LastServerAddress { get; set; } = "127.0.0.1:4499";
/// <summary>
/// Don't use it!
/// </summary>
2022-07-11 12:00:25 +08:00
public string MasterServer { get; set; } = "https://masterserver.ragecoop.online/";
2021-12-08 03:59:14 +01:00
/// <summary>
/// Don't use it!
/// </summary>
public bool FlipMenu { get; set; } = false;
2022-08-13 00:52:34 +02:00
/// <summary>
/// Don't use it!
/// </summary>
public bool Voice { get; set; } = false;
2022-05-22 15:55:26 +08:00
2022-05-23 09:15:50 +08:00
/// <summary>
/// LogLevel for RageCoop.
/// 0:Trace, 1:Debug, 2:Info, 3:Warning, 4:Error
/// </summary>
public int LogLevel = 2;
/// <summary>
/// The key to open menu
/// </summary>
public Keys MenuKey { get; set; } = Keys.F9;
/// <summary>
/// The key to enter a vehicle as passenger.
/// </summary>
2022-07-20 17:50:01 +08:00
public Keys PassengerKey { get; set; } = Keys.G;
2022-05-22 15:55:26 +08:00
/// <summary>
/// Disable world NPC traffic, mission entities won't be affected
/// </summary>
public bool DisableTraffic { get; set; } = true;
/// <summary>
/// Bring up pause menu but don't freeze time when FrontEndPauseAlternate(Esc) is pressed.
/// </summary>
public bool DisableAlternatePause { get; set; } = true;
/// <summary>
/// The game won't spawn more NPC traffic if the limit is exceeded. -1 for unlimited (not recommended).
/// </summary>
public int WorldVehicleSoftLimit { get; set; } = 20;
2022-07-01 12:22:31 +08:00
/// <summary>
/// The game won't spawn more NPC traffic if the limit is exceeded. -1 for unlimited (not recommended).
/// </summary>
public int WorldPedSoftLimit { get; set; } = 30;
/// <summary>
2022-07-02 13:53:14 +08:00
/// The directory where log and resources downloaded from server will be placed.
/// </summary>
2022-07-02 13:53:14 +08:00
public string DataDirectory { get; set; } = "Scripts\\RageCoop\\Data";
2021-07-07 13:36:25 +02:00
}
}