C# Class SSTUTools.FuelTypes

Datei anzeigen Open project: shadowmage45/SSTULabs

Public Properties

Property Type Description
INSTANCE FuelTypes

Public Methods

Method Description
getResourceBoiloffData ( string resources ) : SSTUTools.BoiloffData[]
getResourceBoiloffValue ( string name ) : BoiloffData
getResourceVolume ( String name ) : float
getResourceVolume ( String name, PartResourceDefinition def ) : float
getZeroCostResourceCost ( string name ) : float
getZeroMassResourceMass ( string name ) : float
loadConfigData ( ) : void

Private Methods

Method Description
loadDefs ( ) : void

Method Details

getResourceBoiloffData() public method

public getResourceBoiloffData ( string resources ) : SSTUTools.BoiloffData[]
resources string
return SSTUTools.BoiloffData[]

getResourceBoiloffValue() public method

public getResourceBoiloffValue ( string name ) : BoiloffData
name string
return BoiloffData

getResourceVolume() public method

public getResourceVolume ( String name ) : float
name String
return float

getResourceVolume() public method

public getResourceVolume ( String name, PartResourceDefinition def ) : float
name String
def PartResourceDefinition
return float

getZeroCostResourceCost() public method

public getZeroCostResourceCost ( string name ) : float
name string
return float

getZeroMassResourceMass() public method

public getZeroMassResourceMass ( string name ) : float
name string
return float

loadConfigData() public method

public loadConfigData ( ) : void
return void

Property Details

INSTANCE public_oe static_oe property

public static FuelTypes,SSTUTools INSTANCE
return FuelTypes