// Token: 0x06000006 RID: 6 RVA: 0x00002178 File Offset: 0x00000378 public static TempControlType AnalyzeType(this TerrainComp_TempControl tempControl) { var energyPerSecond = tempControl.Props.energyPerSecond; return(energyPerSecond > 0f ? TempControlType.Heater : energyPerSecond < 0f ? TempControlType.Cooler : TempControlType.None); }
public static TempControlType AnalyzeType(this TerrainComp_TempControl tempControl) { float f = tempControl.Props.energyPerSecond; return(f > 0 ? TempControlType.Heater : f < 0 ? TempControlType.Cooler : TempControlType.None); }