Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        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");
        }
Ejemplo n.º 4
0
        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");
        }