// Token: 0x0600001A RID: 26 RVA: 0x00002A82 File Offset: 0x00000C82 public override IEnumerable <Gizmo> GetGizmos() { foreach (Gizmo g in base.GetGizmos()) { yield return(g); } yield return(new Command_Action { icon = ContentFinder <Texture2D> .Get("UI/Commands/CopySettings", true), defaultLabel = Translator.Translate("CommandCopyZoneSettingsLabel"), defaultDesc = Translator.Translate("CommandCopyZoneSettingsDesc"), action = delegate() { SoundDefOf.Tick_High.PlayOneShotOnCamera(null); GaugeSettings_Clipboard.Copy(this.onHighTemp, this.CompTempControl.targetTemperature); }, hotKey = KeyBindingDefOf.Misc4 }); yield return(new Command_Action { icon = ContentFinder <Texture2D> .Get("UI/Commands/PasteSettings", true), defaultLabel = Translator.Translate("CommandPasteZoneSettingsLabel"), defaultDesc = Translator.Translate("CommandPasteZoneSettingsDesc"), action = delegate() { SoundDefOf.Tick_High.PlayOneShotOnCamera(null); GaugeSettings_Clipboard.PasteInto(out this.onHighTemp, out this.CompTempControl.targetTemperature); }, hotKey = KeyBindingDefOf.Misc5 }); yield break; }
// Token: 0x0600000D RID: 13 RVA: 0x000025A0 File Offset: 0x000007A0 public override IEnumerable <Gizmo> GetGizmos() { yield return(new Command_Action { icon = ContentFinder <Texture2D> .Get("UI/Commands/Alert_" + this.alertState.ToString(), true), defaultLabel = this.alertGizmoLabel, defaultDesc = Translator.Translate("AlertGizmoDesc"), action = delegate() { SoundDefOf.Tick_High.PlayOneShotOnCamera(null); bool flag = this.alertState >= AlertState.Critical; if (flag) { this.alertState = AlertState.Off; } else { this.alertState++; } } }); foreach (Gizmo g in base.GetGizmos()) { yield return(g); } yield return(new Command_Action { icon = ContentFinder <Texture2D> .Get("UI/Commands/CopySettings", true), defaultLabel = Translator.Translate("CommandCopyZoneSettingsLabel"), defaultDesc = Translator.Translate("CommandCopyZoneSettingsDesc"), action = delegate() { SoundDefOf.Tick_High.PlayOneShotOnCamera(null); GaugeSettings_Clipboard.Copy(this.onHighTemp, this.CompTempControl.targetTemperature, this.alertState); }, hotKey = KeyBindingDefOf.Misc4 }); yield return(new Command_Action { icon = ContentFinder <Texture2D> .Get("UI/Commands/PasteSettings", true), defaultLabel = Translator.Translate("CommandPasteZoneSettingsLabel"), defaultDesc = Translator.Translate("CommandPasteZoneSettingsDesc"), action = delegate() { SoundDefOf.Tick_High.PlayOneShotOnCamera(null); GaugeSettings_Clipboard.PasteInto(out this.onHighTemp, out this.CompTempControl.targetTemperature, out this.alertState); }, hotKey = KeyBindingDefOf.Misc5 }); yield break; }
// Token: 0x0600002A RID: 42 RVA: 0x00002C8C File Offset: 0x00000E8C public static void Copy(bool highTemp, float target, AlertState state) { GaugeSettings_Clipboard.Copy(highTemp, target); GaugeSettings_Clipboard.alertState = state; }