static Config() { settings = new SynchronizedSettings("Phoenix"); userSettings = new SettingsFragment(settings, "UserSettings"); profile = null; packetLogging = new PacketLogging(settings); groundFindDistance = new SettingInt32Entry(settings, 8, "FindDistance", "Config", "World"); resyncInterval = new SettingInt32Entry(settings, 5, "ResyncInterval", "Config"); resyncInterval.Changed += new EventHandler(resyncInterval_Changed); }
internal ProfileConfig(string profilesFolder) { profileChanged = new DefaultPublicEvent(); loader = new SettingsLoader(profilesFolder); profileName = null; settings = new SynchronizedSettings("Profile"); userSettings = new SettingsFragment(settings, "UserSettings"); maxJournalLen = new SettingInt32Entry(settings, 500, "MaxJournalLen", "Config"); overrideSpeechColor = new SettingBoolEntry(settings, false, "OverrideSpeechColor", "Config"); colors = new ColorsConfig(settings); window = new WindowConfig(settings); fpsLimit = new SettingInt32Entry(settings, 0, "fps", "Config", "FpsLimiter"); }