示例#1
0
 public void RefreshStashModeCheckBox()
 {
     if (Service.Get <BaseLayoutToolController>().IsQuickStashModeEnabled)
     {
         this.stashModeCheck.Visible = true;
         BuildingController buildingController = Service.Get <BuildingController>();
         buildingController.EnsureLoweredLiftedBuilding();
         buildingController.EnsureDeselectSelectedBuilding();
     }
     else
     {
         this.stashModeCheck.Visible = false;
     }
     this.stashModeTable.RepositionItems();
     this.RefreshInstructionLabel();
 }