using System.Collections.Generic; namespace ACE.Common { public class GameConfiguration { public string WorldName { get; set; } = "ACEmulator"; public NetworkSettings Network { get; set; } = new NetworkSettings(); public AccountDefaults Accounts { get; set; } = new AccountDefaults(); public string DatFilesDirectory { get; set; } = "c:\\ACE\\Dats\\"; public string ModsDirectory { get; set; } /// /// The amount of seconds to wait before turning off the server. Default value is 60 (for 1 minute). /// public uint ShutdownInterval { get; set; } = 60; public bool ServerPerformanceMonitorAutoStart { get; set; } = false; public ThreadConfiguration Threading { get; set; } = new ThreadConfiguration(); /// /// The amount of minutes to keep a player object from shard database in memory. Default value is 31 minutes. /// public uint ShardPlayerBiotaCacheTime { get; set; } = 31; /// /// The amount of minutes to keep a non player object from shard database in memory. Default value is 11 minutes. /// public uint ShardNonPlayerBiotaCacheTime { get; set; } = 11; public bool WorldDatabasePrecaching { get; set; } = false; public bool LandblockPreloading { get; set; } = true; public List PreloadedLandblocks { get; set; } = new List() { new PreloadedLandblocks() { Id = "E74EFFFF", Description = "Hebian-To (Global Events)", Permaload = true, IncludeAdjacents = false, Enabled = true }, new PreloadedLandblocks() { Id = "A9B4FFFF", Description = "Holtburg", Permaload = true, IncludeAdjacents = true, Enabled = false }, new PreloadedLandblocks() { Id = "DA55FFFF", Description = "Shoushi", Permaload = true, IncludeAdjacents = true, Enabled = false }, new PreloadedLandblocks() { Id = "7D64FFFF", Description = "Yaraq", Permaload = true, IncludeAdjacents = true, Enabled = false }, new PreloadedLandblocks() { Id = "0007FFFF", Description = "Town Network", Permaload = true, IncludeAdjacents = false, Enabled = false }, new PreloadedLandblocks() { Id = "00000000", Description = "Apartment Landblocks", Permaload = true, IncludeAdjacents = false, Enabled = false } }; } }