コード例 #1
0
        void buyoutView_Update(PricingInfo buyoutInfo, string tabName)
        {
            if (buyoutInfo.Enabled)
            {
                Settings.TabsBuyouts[tabName] = buyoutInfo.GetSaveText();
            }
            else
            {
                Settings.TabsBuyouts.Remove(tabName);
            }

            Settings.SaveTabBuyouts();
        }
コード例 #2
0
ファイル: StashViewModel.cs プロジェクト: fikal/Procurement
        void buyoutView_Update(PricingInfo buyoutInfo, string tabName)
        {
            if (buyoutInfo.Enabled)
            {
                Settings.TabsBuyouts[tabName] = buyoutInfo.GetSaveText();
            }
            else
            {
                Settings.TabsBuyouts.Remove(tabName);
            }

            Settings.SaveTabBuyouts();

            ScreenController.Instance.InvalidateTradingScreen();
            ScreenController.Instance.UpdateTrading();
        }
コード例 #3
0
        void buyoutView_Update(PricingInfo buyoutInfo, string tabName)
        {
            if (buyoutInfo.Enabled)
                Settings.TabsBuyouts[tabName] = buyoutInfo.GetSaveText();
            else
                Settings.TabsBuyouts.Remove(tabName);

            Settings.SaveTabBuyouts();
        }