Example #1
0
        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);
 }
Example #3
0
 public BoiloffResourceData(PartResource resource, BoiloffData data)
 {
     this.resource   = resource;
     this.data       = data;
     this.unitVolume = FuelTypes.INSTANCE.getResourceVolume(resource.resourceName);
 }