Esempio n. 1
0
 public static void PerformUpgrades(List <ActionBase> actions, string version)
 {
     if (StoreCommandUpgrader.IsVersionLessThan(version, "0.4.9.0"))
     {
         StoreCommandUpgrader.SeperateChatFromCurrencyActions(actions);
     }
 }
        public static void PerformUpgrades(List <ActionBase> actions, string version)
        {
            if (StoreCommandUpgrader.IsVersionLessThan(version, "0.4.9.0"))
            {
                StoreCommandUpgrader.SeperateChatFromCurrencyActions(actions);
            }

            if (StoreCommandUpgrader.IsVersionLessThan(version, "0.4.10.0"))
            {
                StoreCommandUpgrader.ChangeWaitActionsToUseSpecialIdentifiers(actions);
            }

            if (StoreCommandUpgrader.IsVersionLessThan(version, "0.4.12.5"))
            {
                StoreCommandUpgrader.ChangeCounterActionsToUseSpecialIdentifiers(actions);
            }

            if (StoreCommandUpgrader.IsVersionLessThan(version, "0.4.17.0"))
            {
                StoreCommandUpgrader.ChangeCounterActionsToUseSpecialIdentifiers(actions);
            }

            if (StoreCommandUpgrader.IsVersionLessThan(version, "0.4.19.0"))
            {
                StoreCommandUpgrader.RestructureNewOverlayActions(actions);
            }
        }
        public static void PerformUpgrades(List <ActionBase> actions, string version)
        {
            if (StoreCommandUpgrader.IsVersionLessThan(version, "0.5.1.501"))
            {
                StoreCommandUpgrader.RestructureNewerOverlayActions(actions);
            }

            if (StoreCommandUpgrader.IsVersionLessThan(version, "0.5.1.700"))
            {
                StoreCommandUpgrader.ReplaceActionGroupAction(actions);
            }
        }