public BoiloffData getResourceBoiloffValue(string name) { BoiloffData val = null; if (!boiloffResourceValues.TryGetValue(name, out val)) { return(null); } return(val); }
public BoiloffResourceData(PartResource resource, BoiloffData data) { this.resource = resource; this.data = data; this.unitVolume = FuelTypes.INSTANCE.getResourceVolume(resource.resourceName); }