Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
PartResourceLibrary Class Reference
Inheritance diagram for PartResourceLibrary:

Public Member Functions

PartResourceDefinition GetDefinition (string name)
 
PartResourceDefinition GetDefinition (int id)
 
void LoadDefinitions ()
 

Static Public Member Functions

static ResourceFlowMode GetDefaultFlowMode (string resourceName)
 
static ResourceFlowMode GetDefaultFlowMode (int resourceID)
 

Public Attributes

PartResourceDefinitionList resourceDefinitions
 
string resourceExtension
 
string resourcePath
 

Static Public Attributes

static int ElectricityHashcode = "ElectricCharge".GetHashCode()
 

Properties

static PartResourceLibrary Instance [get, set]
 

Member Function Documentation

static ResourceFlowMode PartResourceLibrary.GetDefaultFlowMode ( string  resourceName)
inlinestatic
static ResourceFlowMode PartResourceLibrary.GetDefaultFlowMode ( int  resourceID)
inlinestatic
PartResourceDefinition PartResourceLibrary.GetDefinition ( string  name)
inline
PartResourceDefinition PartResourceLibrary.GetDefinition ( int  id)
inline
void PartResourceLibrary.LoadDefinitions ( )
inline

Member Data Documentation

int PartResourceLibrary.ElectricityHashcode = "ElectricCharge".GetHashCode()
static
PartResourceDefinitionList PartResourceLibrary.resourceDefinitions
string PartResourceLibrary.resourceExtension
string PartResourceLibrary.resourcePath

Property Documentation

PartResourceLibrary PartResourceLibrary.Instance
staticgetset

The documentation for this class was generated from the following file: