Example #1
0
 public void RunMigration5()
 {
     IniMigrator.UpdateIniFile("AuroraServerConfiguration/Main.ini", "RegionPermissions",
                               new[] { "Threat_Level_None", "Threat_Level_Low", "Threat_Level_Medium", "Threat_Level_High", "Threat_Level_Full" },
                               new[] { "", "", "", "", "" },
                               new[] { MigratorAction.Add, MigratorAction.Add, MigratorAction.Add, MigratorAction.Add, MigratorAction.Add });
 }
Example #2
0
 public void RunMigration4()
 {
     IniMigrator.UpdateIniFile("Configuration/Grid/Grid.ini", "AuroraConnectors",
                               new[] { "EstateConnector" }, new[] { "LocalConnector" },
                               new[] { MigratorAction.Add, MigratorAction.Add });
     IniMigrator.UpdateIniFile("AuroraServerConfiguration/Main.ini", "RegionPermissions",
                               new[] { "DefaultRegionThreatLevel" }, new[] { "High" },
                               new[] { MigratorAction.Add, MigratorAction.Add });
 }
Example #3
0
        public void RunMigration3()
        {
            IniMigrator.UpdateIniFile("Configuration/Standalone/Standalone.ini", "AuroraConnectors",
                                      new[] { "DoRemoteCalls", "AllowRemoteCalls" }, new[] { "False", "False" },
                                      new[] { MigratorAction.Add, MigratorAction.Add });

            IniMigrator.UpdateIniFile("Configuration/Standalone/StandaloneIWC.ini", "AuroraConnectors",
                                      new[] { "DoRemoteCalls", "AllowRemoteCalls" }, new[] { "False", "False" },
                                      new[] { MigratorAction.Add, MigratorAction.Add });

            IniMigrator.UpdateIniFile("Configuration/Grid/Grid.ini", "AuroraConnectors",
                                      new[] { "DoRemoteCalls", "AllowRemoteCalls" }, new[] { "True", "False" },
                                      new[] { MigratorAction.Add, MigratorAction.Add });

            IniMigrator.UpdateIniFile("AuroraServerConfiguration/Main.ini", "AuroraConnectors",
                                      new[] { "DoRemoteCalls", "AllowRemoteCalls" }, new[] { "False", "True" },
                                      new[] { MigratorAction.Add, MigratorAction.Add });
        }